Issue 145504 in chromium: dev tools: value attribute on input field does not show on element

564 views
Skip to first unread message

chro...@googlecode.com

unread,
Aug 29, 2012, 1:50:57 PM8/29/12
to chromi...@chromium.org
Status: Unconfirmed
Owner: ----
Labels: OS-Linux Area-Undefined Type-Bug Pri-2

New issue 145504 by arlo.car...@gmail.com: dev tools: value attribute on
input field does not show on element
http://code.google.com/p/chromium/issues/detail?id=145504

Chrome Version : 21.0.1180.79
OS Version:
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari 5: NA
Firefox 4.x: NA
IE 7/8/9: NA

What steps will reproduce the problem?
1. Have an input element in your markup with no value.
2. Add a value to input element after page load.
3. Select that element in the dev tools console.
4. Value attribute will not show, but if you select the value of that
element dev tools does show the correct value.

What is the expected result?
When I select an element in dev tools console, I expect to see all of it's
attributes displayed.

What happens instead?
All attributes display expect for "value".

Please provide any additional information below. Attach a screenshot if
possible.

UserAgentString: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML,
like Gecko) Chrome/21.0.1180.79 Safari/537.1




Attachments:
chrome-devtools.png 14.4 KB

chro...@googlecode.com

unread,
Aug 29, 2012, 4:57:06 PM8/29/12
to chromi...@chromium.org

Comment #2 on issue 145504 by arlo.car...@gmail.com: dev tools: value
attribute on input field does not show on element
http://code.google.com/p/chromium/issues/detail?id=145504

http://jsfiddle.net/mexitek/7zZa7/11/

chro...@googlecode.com

unread,
Aug 29, 2012, 10:33:02 PM8/29/12
to chromi...@chromium.org
Updates:
Status: WontFix
Labels: WebKit-Forms

Comment #3 on issue 145504 by tk...@chromium.org: dev tools: value
attribute on input field does not show on element
http://code.google.com/p/chromium/issues/detail?id=145504

This is an expected behavior because the editing value of the input never
updates the HTML "value" attribute though it updates the JavaScript "value"
property.

http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#dom-input-value-value


chro...@googlecode.com

unread,
Aug 29, 2012, 11:07:02 PM8/29/12
to chromi...@chromium.org

Comment #4 on issue 145504 by arlo.car...@gmail.com: dev tools: value
attribute on input field does not show on element
http://code.google.com/p/chromium/issues/detail?id=145504

Yes, good point. Thank you for the clarification. I suppose I should be
using jQuery.attr() if I want to see the change on the DOM element.

Reply all
Reply to author
Forward
0 new messages