From: Matthias Clasen Date: Mon, 10 Apr 2023 05:53:23 +0000 (+0200) Subject: node-editor: Typo fixes X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~1^2~421^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3eee1c072437b5253f43c1aa5332f9612b78e5f1;p=gtk4.git node-editor: Typo fixes Fix some typos in the node format documentation. --- diff --git a/demos/node-editor/node-format.md b/demos/node-editor/node-format.md index b174662f32..7df87aa6a8 100644 --- a/demos/node-editor/node-format.md +++ b/demos/node-editor/node-format.md @@ -2,7 +2,7 @@ GSK render nodes can be serialized and deserialized using APIs such as `gsk_render_node_serialize()` and `gsk_render_node_deserialize()`. The intended use for this is development - primarily the development of GTK - by allowing things such as creating testsuites and benchmarks, exchanging nodes in bug reports. GTK includes the `gtk4-node-editor` application for creating such test files. -The format is a text format that follows the [CSS syntax rules](https://drafts.csswg.org/css-syntax-3/). In particular, this means that every array of bytes will produce a render node when parsed, as there is a defined error recovery method. For more details on error handling, please refer to the documentation of the aprsing APIs. +The format is a text format that follows the [CSS syntax rules](https://drafts.csswg.org/css-syntax-3/). In particular, this means that every array of bytes will produce a render node when parsed, as there is a defined error recovery method. For more details on error handling, please refer to the documentation of the parsing APIs. The grammar of a node text representation using [the CSS value definition syntax](https://drafts.csswg.org/css-values-3/#value-defs) looks like this: **document**: `\*` @@ -23,7 +23,7 @@ Nodes can be given a name by adding a string after the `` in their de ### Textures -Just like nodes, textures can be referenced by name. When definining the named texture, the name has to be placed in front of the URL. +Just like nodes, textures can be referenced by name. When defining a named texture, the name has to be placed in front of the URL. # Nodes