forked from nikhilk/scriptsharp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjQuerySupport.cs
More file actions
143 lines (127 loc) · 3.67 KB
/
Copy pathjQuerySupport.cs
File metadata and controls
143 lines (127 loc) · 3.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
// jQueryObject.cs
// Script#/Libraries/jQuery/Core
// This source code is subject to terms and conditions of the Apache License, Version 2.0.
//
using System;
using System.Runtime.CompilerServices;
namespace jQueryApi {
/// <summary>
/// Represents the properties that indicate existence of browser features
/// and bugs.
/// </summary>
[IgnoreNamespace]
[Imported]
public sealed class jQuerySupport {
private jQuerySupport() {
}
/// <summary>
/// This is equal to true if the page and browser are rendered according to the
/// W3C CSS Box Model.
/// </summary>
[IntrinsicProperty]
public bool BoxModel {
get {
return false;
}
}
/// <summary>
/// True if cssFloat is the name of the float CSS property. False if it is styleFloat.
/// </summary>
[IntrinsicProperty]
public bool CssFloat {
get {
return false;
}
}
/// <summary>
/// True if the browser leaves URLs returned from getAttribute("href") intact.
/// </summary>
[IntrinsicProperty]
public bool HrefNormalized {
get {
return false;
}
}
/// <summary>
/// True is the browser properly serializes link elements when innerHTML is used.
/// </summary>
[IntrinsicProperty]
public bool HtmlSerialize {
get {
return false;
}
}
/// <summary>
/// True if the browser preserves leading whitespace when innerHTML is used.
/// </summary>
[IntrinsicProperty]
public bool LeadingWhitespace {
get {
return false;
}
}
/// <summary>
/// True if the browser does not copy over the checked expando when elements are cloned.
/// </summary>
[IntrinsicProperty]
public bool NoCloneChecked {
get {
return false;
}
}
/// <summary>
/// True if the browser does not clone event handlers when elements are cloned.
/// </summary>
[IntrinsicProperty]
public bool NoCloneEvent {
get {
return false;
}
}
/// <summary>
/// True if doing getElementsByTagName('*') on an object element returns all descendant elements.
/// </summary>
[IntrinsicProperty]
public bool ObjectAll {
get {
return false;
}
}
/// <summary>
/// True if a browser can properly interpret the opacity style property.
/// </summary>
[IntrinsicProperty]
public bool Opacity {
get {
return false;
}
}
/// <summary>
/// True if using appendChild/createTextNode to inject inline scripts executes them.
/// </summary>
[IntrinsicProperty]
public bool ScriptEval {
get {
return false;
}
}
/// <summary>
/// True if getAttribute("style") is able to return the inline style specified by an element.
/// </summary>
[IntrinsicProperty]
public bool Style {
get {
return false;
}
}
/// <summary>
/// True if the browser allows table elements without tbody elements.
/// </summary>
[IntrinsicProperty]
public bool Tbody {
get {
return false;
}
}
}
}