# Support for window.getComputedStyle

**URL:** <https://forums.creativeclouddeveloper.com/t/support-for-window-getcomputedstyle/1990>\
**Category:** UXP Plugin API\
**Tags:** ui, feature-request, api-feedback\
**Created:** [September 1, 2020, 3:52am UTC](https://forums.creativeclouddeveloper.com/t/support-for-window-getcomputedstyle/1990 "2020-09-01T03:52:56Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Velara](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/velara/32/1278_2.png) [@Velara](https://forums.creativeclouddeveloper.com/u/Velara)\
**Post date:** [September 2, 2020, 11:00pm UTC](https://forums.creativeclouddeveloper.com/t/support-for-window-getcomputedstyle/1990/3 "2020-09-02T23:00:23Z")

</div>

Use cases help the UXP team determine support for the API.

There are a few plugin authors including myself that have a few use cases and related feature request… although it’s not explicitly for getComputedStyle the issues mentioned would be solved by it.

> [@Determine the panel width or any elements actual width](http://forums.creativeclouddeveloper.com/t/determine-the-panel-width-or-any-elements-actual-width/1036):
>
> Is there any solid way to determine the panel width or any DOM element’s actual width without window.getComputedStyle, element.clientHeight or element.getBoundingClientRect? None of the following is returning something useful: console.log(document.documentElement.clientHeight); console.log(document.documentElement.offsetWidth); console.log(document.documentElement.scrollWidth); console.log(window.innerHeight); console.log(document.body.clientWidth); console.log(document…

---

_[View the full topic](https://forums.creativeclouddeveloper.com/t/support-for-window-getcomputedstyle/1990)._
