Commit graph

4 commits

Author SHA1 Message Date
Umherirrender
8e039f2101 tests: Use ::class for class name resolution
Also use namespaced version of the class

Change-Id: Idce009e4d0a8e77f95244d95db008d64a2025c5f
2024-09-20 21:19:22 +02:00
Umherirrender
aed646001c htmlform: Add missing documentation to class properties
Add doc-typehints to class properties found by the PropertyDocumentation
sniff to improve the documentation.

Once the sniff is enabled it avoids that new code is missing type
declarations. This is focused on documentation and does not change code.

Change-Id: I1f306a3925d6768209a06e70082598b2f70cd319
2024-09-14 11:49:05 +00:00
lwatson
f13ca84307 HTMLRadioField: clean up HTML
Ensure CodexHTMLForm reflects HTML changes made to Codex components,
Radio and Checkbox.

- Changed the top level element from `span` to `div` in HTMLRadioField.
- Update test in HTMLRadioFieldTest.

HTMLCheckboxField already has a top-level `div` so no changes are
needed.

Bug: T370689
Change-Id: I0b7e5369e23b1a95e431014d7b22f3f1064b3dba
2024-08-12 21:02:38 -04:00
Roan Kattouw
2143c2a596 tests: Add HTML output tests for HTMLRadioField
Bug: T361031
Change-Id: Idde0eab221ef53f14e03b2464e13c9f1dab7b71a
2024-04-08 18:01:43 +00:00