Datetime input attribute value changes is not correct
Categories
(Core :: Layout: Form Controls, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(1 file)
This datetime-specific attribute change handling code is in nsDateTimeControlFrame::AttributeChanged
.
But since it was rewritten in bug 1496242, the UA widget may live while there is no frame (this was not the case with the XBL implementation). This means that attribute changes that happen while the <input>
doesn't have a frame (due to various reasons, but it's probably easily testable giving it display: none
) are not observed by the UA widget, ending up in potentially broken states.
The attribute change handling should live in HTMLInputElement::AttributeChanged
, not nsDateTimeControlFrame
.
Assignee | ||
Comment 1•5 years ago
|
||
I'll fix this after bug 1479708, to make the change there easier :)
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 3•5 years ago
|
||
It's the only sound place now that we use Shadow DOM, since the widget exists
when we have no frames.
Comment 5•5 years ago
|
||
bugherder |
Updated•3 years ago
|
Updated•3 years ago
|
Description
•