PluginProbe
Adminify – White Label, Admin Menu Editor, Login Customizer / 4.0.3.2
Adminify – White Label, Admin Menu Editor, Login Customizer v4.0.3.2
4.3.2 4.3.1 4.3.0 4.2.26 4.2.25 4.2.24 4.2.23 4.2.22 4.2.21 4.2.20 4.2.19 4.2.18 4.2.17 4.2.16 4.2.15 4.2.14 4.2.13 4.2.12 4.2.11 4.2.10 4.2.9 4.2.8 4.2.7 4.2.6 4.2.5 All 165 releases
adminify / vendor / enshrined / svg-sanitize / src / data / AllowedAttributes.php

AllowedAttributes.php in Adminify – White Label, Admin Menu Editor, Login Customizer 4.0.3.2, at vendor/enshrined/svg-sanitize/src/data/AllowedAttributes.php

355 lines 7.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3
4 namespace enshrined\svgSanitize\data;
5
6
7 /**
8 * Class AllowedAttributes
9 *
10 * @package enshrined\svgSanitize\data
11 */
12 class AllowedAttributes implements AttributeInterface
13 {
14
15 /**
16 * Returns an array of attributes
17 *
18 * @return array
19 */
20 public static function getAttributes()
21 {
22 return array(
23 // HTML
24 'accept',
25 'action',
26 'align',
27 'alt',
28 'autocomplete',
29 'background',
30 'bgcolor',
31 'border',
32 'cellpadding',
33 'cellspacing',
34 'checked',
35 'cite',
36 'class',
37 'clear',
38 'color',
39 'cols',
40 'colspan',
41 'coords',
42 'crossorigin',
43 'datetime',
44 'default',
45 'dir',
46 'disabled',
47 'download',
48 'enctype',
49 'face',
50 'for',
51 'headers',
52 'height',
53 'hidden',
54 'high',
55 'href',
56 'hreflang',
57 'id',
58 'integrity',
59 'ismap',
60 'label',
61 'lang',
62 'list',
63 'loop',
64 'low',
65 'max',
66 'maxlength',
67 'media',
68 'method',
69 'min',
70 'multiple',
71 'name',
72 'noshade',
73 'novalidate',
74 'nowrap',
75 'open',
76 'optimum',
77 'pattern',
78 'placeholder',
79 'poster',
80 'preload',
81 'pubdate',
82 'radiogroup',
83 'readonly',
84 'rel',
85 'required',
86 'rev',
87 'reversed',
88 'role',
89 'rows',
90 'rowspan',
91 'spellcheck',
92 'scope',
93 'selected',
94 'shape',
95 'size',
96 'sizes',
97 'span',
98 'srclang',
99 'start',
100 'src',
101 'srcset',
102 'step',
103 'style',
104 'summary',
105 'tabindex',
106 'title',
107 'type',
108 'usemap',
109 'valign',
110 'value',
111 'width',
112 'xmlns',
113
114 // SVG
115 'accent-height',
116 'accumulate',
117 'additivive',
118 'alignment-baseline',
119 'ascent',
120 'attributename',
121 'attributetype',
122 'azimuth',
123 'basefrequency',
124 'baseline-shift',
125 'begin',
126 'bias',
127 'by',
128 'class',
129 'clip',
130 'clip-path',
131 'clip-rule',
132 'color',
133 'color-interpolation',
134 'color-interpolation-filters',
135 'color-profile',
136 'color-rendering',
137 'cx',
138 'cy',
139 'd',
140 'dx',
141 'dy',
142 'diffuseconstant',
143 'direction',
144 'display',
145 'divisor',
146 'dur',
147 'edgemode',
148 'elevation',
149 'end',
150 'fill',
151 'fill-opacity',
152 'fill-rule',
153 'filter',
154 'flood-color',
155 'flood-opacity',
156 'font-family',
157 'font-size',
158 'font-size-adjust',
159 'font-stretch',
160 'font-style',
161 'font-variant',
162 'font-weight',
163 'fx',
164 'fy',
165 'g1',
166 'g2',
167 'glyph-name',
168 'glyphref',
169 'gradientunits',
170 'gradienttransform',
171 'height',
172 'href',
173 'id',
174 'image-rendering',
175 'in',
176 'in2',
177 'k',
178 'k1',
179 'k2',
180 'k3',
181 'k4',
182 'kerning',
183 'keypoints',
184 'keysplines',
185 'keytimes',
186 'lang',
187 'lengthadjust',
188 'letter-spacing',
189 'kernelmatrix',
190 'kernelunitlength',
191 'lighting-color',
192 'local',
193 'marker-end',
194 'marker-mid',
195 'marker-start',
196 'markerheight',
197 'markerunits',
198 'markerwidth',
199 'maskcontentunits',
200 'maskunits',
201 'max',
202 'mask',
203 'media',
204 'method',
205 'mode',
206 'min',
207 'name',
208 'numoctaves',
209 'offset',
210 'operator',
211 'opacity',
212 'order',
213 'orient',
214 'orientation',
215 'origin',
216 'overflow',
217 'paint-order',
218 'path',
219 'pathlength',
220 'patterncontentunits',
221 'patterntransform',
222 'patternunits',
223 'points',
224 'preservealpha',
225 'preserveaspectratio',
226 'r',
227 'rx',
228 'ry',
229 'radius',
230 'refx',
231 'refy',
232 'repeatcount',
233 'repeatdur',
234 'restart',
235 'result',
236 'rotate',
237 'scale',
238 'seed',
239 'shape-rendering',
240 'specularconstant',
241 'specularexponent',
242 'spreadmethod',
243 'stddeviation',
244 'stitchtiles',
245 'stop-color',
246 'stop-opacity',
247 'stroke-dasharray',
248 'stroke-dashoffset',
249 'stroke-linecap',
250 'stroke-linejoin',
251 'stroke-miterlimit',
252 'stroke-opacity',
253 'stroke',
254 'stroke-width',
255 'style',
256 'surfacescale',
257 'tabindex',
258 'targetx',
259 'targety',
260 'transform',
261 'text-anchor',
262 'text-decoration',
263 'text-rendering',
264 'textlength',
265 'type',
266 'u1',
267 'u2',
268 'unicode',
269 'values',
270 'viewbox',
271 'visibility',
272 'vert-adv-y',
273 'vert-origin-x',
274 'vert-origin-y',
275 'width',
276 'word-spacing',
277 'wrap',
278 'writing-mode',
279 'xchannelselector',
280 'ychannelselector',
281 'x',
282 'x1',
283 'x2',
284 'xmlns',
285 'y',
286 'y1',
287 'y2',
288 'z',
289 'zoomandpan',
290
291 // MathML
292 'accent',
293 'accentunder',
294 'align',
295 'bevelled',
296 'close',
297 'columnsalign',
298 'columnlines',
299 'columnspan',
300 'denomalign',
301 'depth',
302 'dir',
303 'display',
304 'displaystyle',
305 'fence',
306 'frame',
307 'height',
308 'href',
309 'id',
310 'largeop',
311 'length',
312 'linethickness',
313 'lspace',
314 'lquote',
315 'mathbackground',
316 'mathcolor',
317 'mathsize',
318 'mathvariant',
319 'maxsize',
320 'minsize',
321 'movablelimits',
322 'notation',
323 'numalign',
324 'open',
325 'rowalign',
326 'rowlines',
327 'rowspacing',
328 'rowspan',
329 'rspace',
330 'rquote',
331 'scriptlevel',
332 'scriptminsize',
333 'scriptsizemultiplier',
334 'selection',
335 'separator',
336 'separators',
337 'slope',
338 'stretchy',
339 'subscriptshift',
340 'supscriptshift',
341 'symmetric',
342 'voffset',
343 'width',
344 'xmlns',
345
346 // XML
347 'xlink:href',
348 'xml:id',
349 'xlink:title',
350 'xml:space',
351 'xmlns:xlink',
352 );
353 }
354 }
355