Files
sousa-gecko/testing/web-platform/tests/css/printing/select-combobox-print.html
T
Emilio Cobos Álvarez dbb9581748 Bug 2026109 - Improve cloning internal shadow trees for printing. r=smaug
Clone built-in stylesheets that aren't node associated: this fixes
select.css not applying which is what fixes the bug as reported.

Clone pseudo-element type (this fixes the dropmarker not showing up in
appearance: auto mode.

Differential Revision: https://phabricator.services.mozilla.com/D289935
2026-03-26 08:53:41 +00:00

17 lines
395 B
HTML

<!doctype html>
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=2026109">
<link rel="match" href="select-combobox-print-ref.html">
<style>
select {
appearance: none;
margin: 0;
padding: 0;
border: 0;
font: inherit;
color: inherit;
background-color: transparent;
print-color-adjust: exact;
}
</style>
<select><option>XXX</option><option>FAIL</option></select>