<!--
{
  "documentType" : "article",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/1574395-dom-alignment-enumeration-legacy",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "DOM Alignment Enumeration (Legacy)"
}
-->

# DOM Alignment Enumeration (Legacy)

## Topics

### Constants

[`var DOM_BOTH: Int`](/documentation/WebKit/DOM_BOTH)

[`var DOM_HORIZONTAL: Int`](/documentation/WebKit/DOM_HORIZONTAL)

[`var DOM_VERTICAL: Int`](/documentation/WebKit/DOM_VERTICAL)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)