We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

Print document with CSS target selector

more options

I would like to check if there is a bug with printer in Firefox: HTML with CSS target selector https://drive.google.com/open?id=0B7w3ZGc8CTgqMUxWZkdONlhyZWM

If you select `ru` it will hide all non-ru text, but when you is trying to print Firefox resets target selector and again there is english text. Chrome is able to print correctly with CSS target selected elements

The question is it maybe a bug in Firefox that resets target selector?

I would like to check if there is a bug with printer in Firefox: HTML with CSS target selector https://drive.google.com/open?id=0B7w3ZGc8CTgqMUxWZkdONlhyZWM If you select `ru` it will hide all non-ru text, but when you is trying to print Firefox resets target selector and again there is english text. Chrome is able to print correctly with CSS target selected elements The question is it maybe a bug in Firefox that resets target selector?

Keazen oplossing

It definitely could be a bug. I am not very conversant with sibling selectors, but even a basic rule like the following appear on screen but not in print preview:

#ru:target {border: 2px solid red;}

You can submit a bug report and see what comments you get, either confirming the problem or indicating some workaround, here:

https://bugzilla.mozilla.org/enter_bug.cgi

As you enter the description, the system will check for duplicates. Sometimes that will lead you to an existing discussion where you can vote for the bug to get fixed or contribute technical insights. ("Me too" comments are generally not helpful, however.)

Dit antwurd yn kontekst lêze 👍 0

Alle antwurden (1)

more options

Keazen oplossing

It definitely could be a bug. I am not very conversant with sibling selectors, but even a basic rule like the following appear on screen but not in print preview:

#ru:target {border: 2px solid red;}

You can submit a bug report and see what comments you get, either confirming the problem or indicating some workaround, here:

https://bugzilla.mozilla.org/enter_bug.cgi

As you enter the description, the system will check for duplicates. Sometimes that will lead you to an existing discussion where you can vote for the bug to get fixed or contribute technical insights. ("Me too" comments are generally not helpful, however.)