tatarize

Results 728 comments of tatarize

https://www.w3.org/TR/CSS22/syndata.html Has the syntax data. Lexicographical parsers aren't too hard. The scheme for the svg path ( https://github.com/meerk40t/svgelements/blob/d5615435b41f7a3a4f57ec490036c9321c9435cd/svgelements/svgelements.py#L210 ) would work to parse most bnf like grammars. Doing this would...

Reading through the functionality of modern browsers and checking with some javascript. The DOM content tree shouldn't be too hard to implement. Node objects, their relationships, CSS, and styles are...

There is considerable overlap with this and xml dom objects. With bootstrapping and some rendering code these could be made more closely related. For example implementing a core fusion of...

While `xml.dom` is a faithful dom implementation the lack of bootstrapping or other common dom related CSS makes it a needlessly cumbersome method of accessing xml. So most examples relate...

A rectangle without a height has a default value of 0 which is degenerate and shouldn't render. Can you give some example code or svg showing behavior which is inconsistent...

With render disabled it hits a value error trying to calculate the viewbox_transform. This seems like it's more involved and might need to be pushed to [meerk40t/svgio](https://github.com/meerk40t/svgio) basically in #87,...

```python def test_issue_196(self): q1 = io.StringIO(u''' ''') layout = SVG.parse( source=q1, reify=False, ppi=DEFAULT_PPI, color="black", transform=None, context=None ) elements = list(layout.elements()) for e in elements: print(f"ID: {e.id}: {e}") ``` Gives: ```...

If you can show that this is what Chrome or Inkscape uses for those ids. I would absolutely change it. The spec says Use is the object there and is...

I'm open to some changes. It wouldn't be ideal but we could certainly make the id of objects within the use reference to be ` ` since those objects don't...

The writing of use objects that are created in actual tree might be a problem for writing out the data since by default it would reuse the id. I think...