Files
sousa-gecko/testing/web-platform/tests/css/css-forms/select-combobox-print.html
T
Emilio Cobos Álvarez 9c440f3fb4 Bug 1984884 - Set displayed index in nsComboboxControlFrame::Init. r=layout-reviewers,tnikkel
So that we have the right index when creating the anonymous content,
without needing to reflow first.

This is the low-risk fix for uplift. More complete fix to come.

Differential Revision: https://phabricator.services.mozilla.com/D262329
2025-08-25 09:35:57 +00:00

19 lines
579 B
HTML

<!doctype html>
<meta charset="utf-8">
<title>Printing shows the right selected option</title>
<link rel="mismatch" href="select-combobox-print-notref.html">
<link rel="help" href="https://bugzil.la/1984884">
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="author" title="Mozilla" href="https://mozilla.com">
<style>
select {
width: 100px;
color: inherit;
/* Makes mismatches less likely by not using rounded corners etc */
appearance: none;
border: none;
background: none;
}
</style>
<select><option>abc</option></select>