monks/y
The y CSS property defines the y-axis coordinate of the top left corner of the SVG {{SVGElement(“rect”)}} shape, {{SVGElement(“image”)}} image, {{SVGElement(“foreignObject”)}} viewport and nested {{SVGElement(“svg”)}} viewport relative to the nearest <svg> ancestor’s user coordinate system. If present, it overrides the element’s {{SVGAttr(“y”)}} attribute.
The
yproperty only applies to {{SVGElement(“rect”)}}, {{SVGElement(“image”)}}, {{SVGElement(“foreignObject”)}}, and {{SVGElement(“svg”)}} elements nested in an<svg>. It has no effect on outermost<svg>elements and does not apply to other SVG elements nor to HTML elements or pseudo-elements.
Values
pub fn length(value: monks_of_style.Length) -> #(String, String)
- : As an absolute or relative length, it can be expressed in any unit allowed by the CSS {{cssxref(“<length>”)}} data type.
pub const revert_layer: #(String, String)