Closed
Bug 975527
Opened 10 years ago
Closed 3 years ago
<output>.defaultValue not updated by parser
Categories
(Core :: DOM: Core & HTML, defect, P5)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
DUPLICATE
of bug 1537689
People
(Reporter: ian, Unassigned)
References
()
Details
(Keywords: testcase)
Attachments
(1 file)
6.10 KB,
patch
|
Details | Diff | Splinter Review |
<output>test</output> should have a .defaultValue of "test", but instead it has the empty string. From the <output> spec: # Whenever the element's descendants are changed in any way, if the value mode # flag is in mode default, the element's default value must be set to the value # of the element's textContent IDL attribute. -- http://whatwg.org/html#the-output-element
Updated•10 years ago
|
Component: Layout: Form Controls → DOM: Core & HTML
Keywords: testcase
OS: Mac OS X → All
Hardware: x86 → All
Comment 1•10 years ago
|
||
This is a bit clunky but seems to work.
Comment 2•10 years ago
|
||
Note, both gecko and blink (and I guess also webkit) have this behavior, and I thought something in the spec required this odd behavior. Was the spec just changed? The patch for bug 902618 would fix this if there weren't those changes to output. We have also some test for the current behavior.
Comment 3•6 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Updated•3 years ago
|
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•