Adarsh Singh
Adarsh Singh
> are there ways to get reasonable dimensions from some API or calculations? Does the DOM SVG API provides this maybe? Could not find anything useful in DOM svg APIs....
> You don't need the XML regex parsing as that's too unreliable Yes already removed that and was using dom parser to get those values, didn't pushed since I was...
> dimensions of all the exported diagrams should not be 600x300 - at a minimum the aspect ratio should match the diagram aspect ratio, which I assume we can get...
> why do you need to parse the SVG there's full access to the DOM we have access to the document but we need to select the svg element to...
I am facing a problem while trying to write jest tests , jsDom does not render elements so [getBoundingClientRect() always returns all dimensions as 0](https://github.com/jsdom/jsdom/issues/1590). I was trying to test...
> @adarsh-sgh thanks for sharing these details. Are you aware of any other way of fetching resource type inside firefox? one approach is to use `response.content.mimeType` field, which is in...