Display element's (correct) total width and height in computed box model UI
Reported by
suttleco...@gmail.com,
Jun 30 2016
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 Steps to reproduce the problem: 1. Open dev tools 2. Inspect an element 3. Attempt to find its total dimensions What is the expected behavior? See the element's total dimensions in the box model UI What went wrong? The total dimensions can be seen after selecting an element in the source inspection view, but they differ from the box model UI. It's confusing. Did this work before? N/A Chrome version: 51.0.2704.103 Channel: n/a OS Version: OS X 10.11.5 Flash Version: Shockwave Flash 22.0 r0 Thanks
,
Jul 1 2016
Good call, Kevin. The box model display should definitely not be saying "auto".
,
Jul 8 2016
,
Dec 1 2016
,
Nov 4 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/b76838929edb199d31c56eea4261099df0827b4a commit b76838929edb199d31c56eea4261099df0827b4a Author: Joel Einbinder <einbinder@chromium.org> Date: Sat Nov 04 02:41:54 2017 DevTools: Convert DOM.getBoxModel to use CSS pixels Bug: 624826 Change-Id: Iad5979e62dc4f623a8dccb22a3ceb1c1c222e13b Reviewed-on: https://chromium-review.googlesource.com/748279 Commit-Queue: Andrey Lushnikov <lushnikov@chromium.org> Reviewed-by: Pavel Feldman <pfeldman@chromium.org> Reviewed-by: Andrey Lushnikov <lushnikov@chromium.org> Cr-Commit-Position: refs/heads/master@{#514020} [modify] https://crrev.com/b76838929edb199d31c56eea4261099df0827b4a/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-getBoxModel-expected.txt [modify] https://crrev.com/b76838929edb199d31c56eea4261099df0827b4a/third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-getBoxModel.js [modify] https://crrev.com/b76838929edb199d31c56eea4261099df0827b4a/third_party/WebKit/Source/core/inspector/InspectorHighlight.cpp [modify] https://crrev.com/b76838929edb199d31c56eea4261099df0827b4a/third_party/WebKit/Source/devtools/front_end/screencast/ScreencastView.js
,
Dec 14 2017
@einbinder, did you end up fixing this?
,
Dec 14 2017
Didn’t do the front end yet. |
||||
►
Sign in to add a comment |
||||
Comment 1 by paulir...@chromium.org
, Jul 1 2016Components: Platform>DevTools>HTML
Owner: lushnikov@chromium.org
Status: Assigned (was: Unconfirmed)