Skip to content

Commit 0d7e57c

Browse files
author
zhouzhitao
committed
feat: add new CSS properties to getComputedStyle compatibility data
Add support for direction, z-index, background-position, filter, margin, and padding properties with platform compatibility information for Android, iOS, and Harmony platforms starting from version 3.6.
1 parent 7847492 commit 0d7e57c

File tree

1 file changed

+132
-0
lines changed

1 file changed

+132
-0
lines changed

packages/lynx-compat-data/elements/get-computed-style-supported-properties.json

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,138 @@
243243
}
244244
}
245245
},
246+
"direction": {
247+
"__compat": {
248+
"description": "direction",
249+
"status": {
250+
"experimental": true
251+
},
252+
"support": {
253+
"android": {
254+
"version_added": "3.6"
255+
},
256+
"ios": {
257+
"version_added": "3.6"
258+
},
259+
"harmony": {
260+
"version_added": "3.6"
261+
},
262+
"web_lynx": {
263+
"version_added": false
264+
}
265+
}
266+
}
267+
},
268+
"z-index": {
269+
"__compat": {
270+
"description": "z-index",
271+
"status": {
272+
"experimental": true
273+
},
274+
"support": {
275+
"android": {
276+
"version_added": "3.6"
277+
},
278+
"ios": {
279+
"version_added": "3.6"
280+
},
281+
"harmony": {
282+
"version_added": "3.6"
283+
},
284+
"web_lynx": {
285+
"version_added": false
286+
}
287+
}
288+
}
289+
},
290+
"background-position": {
291+
"__compat": {
292+
"description": "background-position",
293+
"status": {
294+
"experimental": true
295+
},
296+
"support": {
297+
"android": {
298+
"version_added": "3.6"
299+
},
300+
"ios": {
301+
"version_added": "3.6"
302+
},
303+
"harmony": {
304+
"version_added": "3.6"
305+
},
306+
"web_lynx": {
307+
"version_added": false
308+
}
309+
}
310+
}
311+
},
312+
"filter": {
313+
"__compat": {
314+
"description": "filter",
315+
"status": {
316+
"experimental": true
317+
},
318+
"support": {
319+
"android": {
320+
"version_added": "3.6"
321+
},
322+
"ios": {
323+
"version_added": "3.6"
324+
},
325+
"harmony": {
326+
"version_added": "3.6"
327+
},
328+
"web_lynx": {
329+
"version_added": false
330+
}
331+
}
332+
}
333+
},
334+
"margin & margin-left & margin-right & margin-top & margin-bottom": {
335+
"__compat": {
336+
"description": "margin & margin-left & margin-right & margin-top & margin-bottom",
337+
"status": {
338+
"experimental": true
339+
},
340+
"support": {
341+
"android": {
342+
"version_added": "3.6"
343+
},
344+
"ios": {
345+
"version_added": "3.6"
346+
},
347+
"harmony": {
348+
"version_added": "3.6"
349+
},
350+
"web_lynx": {
351+
"version_added": false
352+
}
353+
}
354+
}
355+
},
356+
"padding & padding-left & padding-right & padding-top & padding-bottom": {
357+
"__compat": {
358+
"description": "padding & padding-left & padding-right & padding-top & padding-bottom",
359+
"status": {
360+
"experimental": true
361+
},
362+
"support": {
363+
"android": {
364+
"version_added": "3.6"
365+
},
366+
"ios": {
367+
"version_added": "3.6"
368+
},
369+
"harmony": {
370+
"version_added": "3.6"
371+
},
372+
"web_lynx": {
373+
"version_added": false
374+
}
375+
}
376+
}
377+
},
246378
"Other CSS Properties": {
247379
"__compat": {
248380
"description": "Other CSS Properties",

0 commit comments

Comments
 (0)