prototyped svg reports
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 5s
Tests / Go tests (push) Failing after 20s

This commit is contained in:
2026-08-20 00:35:13 -06:00
parent 4748eda41e
commit 50adc8e2de
106 changed files with 5450 additions and 46 deletions
+71
View File
@@ -0,0 +1,71 @@
package svg
type (
// Rect models a <rect> element
Rect = VoidElement[RectTag, RectAttribute]
RectTag struct{}
// SVGAttributes are Attributes allowed on SVGs
RectAttribute interface {
Attribute
IsRectAttribute()
}
)
func (RectTag) PrintTag() string {
return "rect"
}
func (X) IsRectAttribute() {
}
func (XP) IsRectAttribute() {
}
func (Y) IsRectAttribute() {
}
func (YP) IsRectAttribute() {
}
func (Width) IsRectAttribute() {
}
func (WidthP) IsRectAttribute() {
}
func (Height) IsRectAttribute() {
}
func (HeightP) IsRectAttribute() {
}
func (RX) IsRectAttribute() {
}
func (RXP) IsRectAttribute() {
}
func (RY) IsRectAttribute() {
}
func (RYP) IsRectAttribute() {
}
func (PathLength) IsRectAttribute() {
}
func (Class) IsRectAttribute() {
}
func (Fill) IsRectAttribute() {
}
func (Stroke) IsRectAttribute() {
}
func (StrokeWidth) IsRectAttribute() {
}
func (Style) IsRectAttribute() {
}