DOMRectReadOnly
E1018157
DOMRectReadOnly is a read-only Web API interface representing the size and position of a rectangle, commonly used for layout and geometry calculations in the browser.
All labels observed (1)
| Label | Occurrences |
|---|---|
| DOMRectReadOnly canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T13002069 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: DOMRectReadOnly Context triple: [CSSOM View Module, definesInterface, DOMRectReadOnly]
-
A.
DOMQuad
DOMQuad is a Web API interface representing a quadrilateral region in the document, typically used for precise geometric calculations of element layout and hit-testing in the browser.
-
B.
CSSOM View Module
The CSSOM View Module is a W3C specification that defines APIs for reading and manipulating the visual view of a document, including element geometry, scrolling, and viewport-related information in CSS and JavaScript.
-
C.
DOMPoint
DOMPoint is a Web API interface representing a point in 2D or 3D space, commonly used for geometry and transformations in web graphics and layout calculations.
-
D.
DOM
The Document Object Model (DOM) is a platform- and language-neutral interface that represents structured documents like HTML and XML as a tree of objects, enabling programs and scripts to dynamically access and update their content and structure.
-
E.
DOM
DOM is the three-letter ISO 3166-1 alpha-3 country code assigned to the Dominican Republic.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: DOMRectReadOnly Target entity description: DOMRectReadOnly is a read-only Web API interface representing the size and position of a rectangle, commonly used for layout and geometry calculations in the browser.
-
A.
DOMQuad
DOMQuad is a Web API interface representing a quadrilateral region in the document, typically used for precise geometric calculations of element layout and hit-testing in the browser.
-
B.
CSSOM View Module
The CSSOM View Module is a W3C specification that defines APIs for reading and manipulating the visual view of a document, including element geometry, scrolling, and viewport-related information in CSS and JavaScript.
-
C.
DOMPoint
DOMPoint is a Web API interface representing a point in 2D or 3D space, commonly used for geometry and transformations in web graphics and layout calculations.
-
D.
DOM
The Document Object Model (DOM) is a platform- and language-neutral interface that represents structured documents like HTML and XML as a tree of objects, enabling programs and scripts to dynamically access and update their content and structure.
-
E.
DOM
DOM is the three-letter ISO 3166-1 alpha-3 country code assigned to the Dominican Republic.
- F. None of above. chosen
Statements (50)
| Predicate | Object |
|---|---|
| instanceOf |
Web API interface
ⓘ
read-only geometry interface ⓘ |
| belongsToNamespace | global Window scope in browsers ⓘ |
| canBeConstructedWith |
new DOMRectReadOnly(otherDOMRect)
ⓘ
new DOMRectReadOnly(x, y, width, height) ⓘ |
| canBeReturnedBy |
Element.getBoundingClientRect()
ⓘ
Element.getClientRects() ⓘ Range.getBoundingClientRect() ⓘ Range.getClientRects() ⓘ |
| coordinateOrigin | top-left corner of the viewport or element context ⓘ |
| coordinateSystem | CSS pixels ⓘ |
| definedInSpecification | Geometry Interfaces Module Level 1 NERFINISHED ⓘ |
| hasConstructor | DOMRectReadOnly() NERFINISHED ⓘ |
| hasMethod | toJSON() ⓘ |
| hasProperty |
bottom
ⓘ
height ⓘ left ⓘ right ⓘ top ⓘ width ⓘ x ⓘ y ⓘ |
| hasStaticMethod | fromRect() ⓘ |
| isBaseOf | DOMRect NERFINISHED ⓘ |
| isImmutable | true ⓘ |
| isReadOnly | true ⓘ |
| methodToJSONReturns | JSON representation of the DOMRectReadOnly ⓘ |
| partOf | Geometry Interfaces Module NERFINISHED ⓘ |
| propertyType_bottom | double ⓘ |
| propertyType_height | double ⓘ |
| propertyType_left | double ⓘ |
| propertyType_right | double ⓘ |
| propertyType_top | double ⓘ |
| propertyType_width | double ⓘ |
| propertyType_x | double ⓘ |
| propertyType_y | double ⓘ |
| providedBy | Web APIs NERFINISHED ⓘ |
| relatedInterface |
DOMPointReadOnly
NERFINISHED
ⓘ
DOMQuad NERFINISHED ⓘ DOMRect NERFINISHED ⓘ |
| serializationFormat | JSON via toJSON() ⓘ |
| staticMethodFromRectSignature | DOMRectReadOnly.fromRect(other) ⓘ |
| supportedIn |
modern desktop browsers
ⓘ
modern mobile browsers ⓘ |
| typicalUsage | reading layout box geometry without modifying it ⓘ |
| usedFor |
geometry calculations
ⓘ
layout calculations ⓘ representing the size and position of rectangles ⓘ |
| usedInContext | web browsers ⓘ |
| writableProperties | none ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: DOMRectReadOnly Description of subject: DOMRectReadOnly is a read-only Web API interface representing the size and position of a rectangle, commonly used for layout and geometry calculations in the browser.
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.