• Skip to main content
  • Skip to search
  • Skip to select language
    • Technologies Overview
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs
    • Browser Extensions
    • MathML
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
    • Send Feedback
    • Contribute to MDN
    • Report a content issue 🌐
    • Report a platform issue 🌐
  1. Web technology for developers
  2. Web APIs
  3. DOMRectReadOnly
  4. DOMRectReadOnly.left
  • Change language

Table of contents

  • Value
  • Specifications
  • Browser compatibility
  • See also

DOMRectReadOnly.left

The left read-only property of the DOMRectReadOnly interface returns the left coordinate value of the DOMRect. (Has the same value as x, or x + width if width is negative.)

Value

A double.

Specifications

Specification
Geometry Interfaces Module Level 1
# dom-domrectreadonly-left

Browser compatibility

BCD tables only load in the browser

See also

  • DOMRect

Found a problem with this page?

  • Edit on GitHub
  • Source on GitHub
  • Report a problem with this content on GitHub
  • Want to fix the problem yourself? See our Contribution guide.

Last modified: Mar 24, 2022, by MDN contributors

Change your language

Related Topics

  1. DOMRectReadOnly
  2. Constructor
    1. DOMRectReadOnly()
  3. Properties
    1. bottom
    2. height
    3. left
    4. right
    5. top
    6. width
    7. x
    8. y
  4. Methods
    1. fromRect()
  5. Related pages for Geometry Interfaces
    1. CSSMatrix
    2. DOMMatrix
    3. DOMMatrixReadOnly
    4. DOMRect
    5. Point
  • Web Technologies
  • Learn Web Development
  • About MDN
  • Feedback
  • About
  • MDN Web Docs Store
  • Contact Us
  • Firefox

MDN

  • MDN on Twitter
  • MDN on Github

Mozilla

  • Mozilla on Twitter
  • Mozilla on Instagram

© 2005-2022 Mozilla and individual contributors. Content is available under these licenses.

  • Terms
  • Privacy
  • Cookies