Andrey Antukh 616da87360 🐛 Fix null element crash in get-attrs-from-styles
Guard against null element in get-attrs-from-styles so that when the
DOM node is not available the function returns the provided defaults
instead of throwing 'Cannot read properties of null (reading style)'.

Signed-off-by: Andrey Antukh <niwi@niwi.nz>
2026-03-10 12:09:12 +00:00
..