Closed
Bug 1464760
Opened 7 years ago
Closed 5 years ago
Date/time input clear buttons stick when parent div is hidden
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
RESOLVED
DUPLICATE
of bug 1521212
People
(Reporter: paul.tevaanholt, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0
Build ID: 20180516032328
Steps to reproduce:
* A <div> element contains a date input and time input
* Both inputs contain values, so the clear buttons are visible in the input fields
* <div> element is hidden
POC code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Clear buitton POC</title>
</head>
<body>
<div id="poc">
<input type="date" value="2018-05-28"/><br><br>
<input type="time" value="12:01"/><br><br>
<input type="button" value="Click me" onclick="document.getElementById('poc').style.visibility = 'hidden'"/>
</body>
</html>
Running version 60.0.1, 64-bits, NL
Actual results:
* The clear buttons stay visible
This also happens with only a date or time input, obviously.
Expected results:
* The clear buttons of the date and time input fields should be hidden
Updated•7 years ago
|
Priority: -- → P3
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Comment 1•5 years ago
|
||
This was fixed with bug 1521212.
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•