Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for SVGForeignObjectElement.
Developer library 6
Web/SVG/Reference/Element/foreignObject
height` are _Geometry Properties_, meaning those attributes can also be used as CSS properties for that element. ## DOM Interface This element implements the SVGForeignObjectElement interface. ## Example ```css hidden html, body, svg { height: 100%; } ``` ```html <svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"> <style> div { color: white; font: 18px serif; height: 100%;
SVGForeignObjectElement
SVG The **`SVGForeignObjectElement`** interface provides access to the properties of foreignObject elements, as well as methods to manipulate them. ## Instance properties _This interface also inherits properties from its parent, SVGGraphicsElement._ - SVGForeignObjectElement.x - : An SVGAnimatedLength corresponding to the x attribute of the given foreignObject element. - SVGForeignObjectElement.y - : An S
SVGForeignObjectElement: height property
SVG The **`height`** read-only property of the SVGForeignObjectElement interface describes the height of the `<foreignObject>` element. It reflects the computed value of the height attribute on the foreignObject element. The attribute value is a [`<length>`](/docs/Web/SVG/Guides/Content_type#length), [`<percentage>`](/docs/Web/SVG/Guides/Content_type#percentage), or [`<number>`](/docs/Web/SVG/Guides/Content_type#nu
SVGForeignObjectElement: y property
SVG The **`y`** read-only property of the SVGForeignObjectElement interface describes the y-axis coordinate of the `<foreignObject>` element. It reflects the computed value of the y attribute on the foreignObject element. The attribute value is a [`<length>`](/docs/Web/SVG/Guides/Content_type#length), [`<percentage>`](/docs/Web/SVG/Guides/Content_type#percentage), or [`<number>`](/docs/Web/SVG/Guides/Content_type#n
SVGForeignObjectElement: x property
SVG The **`x`** read-only property of the SVGForeignObjectElement interface describes the x-axis coordinate of the `<foreignObject>` element. It reflects the computed value of the x attribute on the foreignObject element. The attribute value is a [`<length>`](/docs/Web/SVG/Guides/Content_type#length), [`<percentage>`](/docs/Web/SVG/Guides/Content_type#percentage), or [`<number>`](/docs/Web/SVG/Guides/Content_type#n
SVGForeignObjectElement: width property
SVG The **`width`** read-only property of the SVGForeignObjectElement interface describes the width of the `<foreignObject>` element. It reflects the computed value of the width attribute on the foreignObject element. The attribute value is a [`<length>`](/docs/Web/SVG/Guides/Content_type#length), [`<percentage>`](/docs/Web/SVG/Guides/Content_type#percentage), or [`<number>`](/docs/Web/SVG/Guides/Content_type#numbe