mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Allow for multiple a11y properties
This commit is contained in:
parent
b308adc3af
commit
3dfce3bbe0
10 changed files with 103 additions and 7 deletions
|
@ -292,8 +292,11 @@ class XmlOutput(OutputFormat):
|
|||
def _emit_extensions(self, extension, xml: XmlEmitter):
|
||||
if isinstance(extension, ExtAccessibility):
|
||||
xml.start_tag("accessibility")
|
||||
for prop in extension.properties:
|
||||
self._emit_attribute(prop.tag_name, "name", prop.name, prop.value, xml)
|
||||
for property in extension.properties:
|
||||
for val in property.values:
|
||||
self._emit_attribute(
|
||||
property.tag_name, "name", property.name, val, xml
|
||||
)
|
||||
xml.end_tag()
|
||||
|
||||
elif isinstance(extension, AdwBreakpointCondition):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue