Indeterminate checkboxes are printed as unchecked
Categories
(Core :: Print Preview, defect)
Tracking
()
People
(Reporter: github.com, Assigned: emilio)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0
Steps to reproduce:
- Go to https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input/checkbox#indeterminate_state_checkboxes
- Select the Sample "Complete the recipe"
- Strg+P
- In Print Preview check selection (if you do not, you won't see the sample in preview)
Actual results:
The indeterminate checkbox will rendered as unselected checkboxes
Expected results:
The indeterminate checkbox should show like the browser rendering
Comment 1•4 years ago
|
||
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0
20220129091708
This is a problem in both the print preview and the print output (tested with Microsoft Print to PDF printer).
Simpler testcase: just paste the following into the address bar.
data:text/html,<input type="checkbox" id="myCheck"><script>document.getElementById("myCheck").indeterminate = true;</script>
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 2•4 years ago
|
||
Matches other browsers and makes sense.
Comment 5•4 years ago
|
||
| bugherder | ||
Updated•4 years ago
|
Comment 7•4 years ago
|
||
I was able to reproduce the issue on Win10 using build 98.0a1 (20220128190550).
Verified as fixed on Win10/Ubuntu20.4/ Mac10.13 using 98.0b2 and 99.0a1.
Description
•