搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Fieldset printing bug

  • 9 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 CharlesEF

more options

I use Firefox v81.0.1 running on x64 Windows 10 Pro. It appears the old fieldset printing bug has shown up again. I've put together a sample page to show the problem, must be loaded in computer browser to show both columns. I will try to attach it.

Once the page is loaded you should see 2 columns (fieldsets) side by side. Now do a print preview, adjust margins so both columns show in the preview. Go to page 2 and you will see the last few rows of Column 2 are not seen. Go to the last page and you will see the missing Column 2 rows under Column 1. I tested this page in current versions of IE11, MS Edge and Comodo Dragon. Only Firefox fails to print correctly. Both CSS and HTML have been validated with no errors.

The upload seems to only allow images. How do I upload a html file?

I use Firefox v81.0.1 running on x64 Windows 10 Pro. It appears the old fieldset printing bug has shown up again. I've put together a sample page to show the problem, must be loaded in computer browser to show both columns. I will try to attach it. Once the page is loaded you should see 2 columns (fieldsets) side by side. Now do a print preview, adjust margins so both columns show in the preview. Go to page 2 and you will see the last few rows of Column 2 are not seen. Go to the last page and you will see the missing Column 2 rows under Column 1. I tested this page in current versions of IE11, MS Edge and Comodo Dragon. Only Firefox fails to print correctly. Both CSS and HTML have been validated with no errors. The upload seems to only allow images. How do I upload a html file?

被選擇的解決方法

Thanks for the example. (Due to moderation of posts containing URLs, it will be invisible for a while.)

I'm not seeing a problem in any browser (old Edge, Chrome, Firefox all the same).

One method to suss out a settings or add-on issue is:

New Profile Test

This takes about 3 minutes, plus the time to test your problem page.

Inside Firefox, type or paste about:profiles in the address bar and press Enter/Return to load it.

Take a quick glance at the page and make a mental note of which Profile has this notation: This is the profile in use and it cannot be deleted. That is your current default profile.

Click the "Create a New Profile" button, then click Next. Assign a name like Oct2020, ignore the option to relocate the profile folder, and click the Finish button.

Firefox will switch your default profile to the new one, so click the Set as Default Profile button for your regular one to avoid an unwanted surprise at your next startup.

Scroll down to Oct2020 and click its Launch profile in new browser button.

Firefox should open a new window that looks like a brand new, uncustomized installation. (Your existing Firefox window(s) should not be affected.) Please ignore any tabs enticing you to connect to a Sync account or to activate extensions found on your system so we can get a clean test.

Does the problem page work any better in Print Preview in the new profile?

When you are done with the experiment, you can close the extra window without affecting your regular Firefox profile. (Oct2020 will remain available for future testing.)

從原來的回覆中察看解決方案 👍 0

所有回覆 (9)

more options

You can't attach files here other than image files. Can you post it online somewhere?

more options

Strange that you can't post sample files. Here is a link to the zip file.: CSS Test

more options

選擇的解決方法

Thanks for the example. (Due to moderation of posts containing URLs, it will be invisible for a while.)

I'm not seeing a problem in any browser (old Edge, Chrome, Firefox all the same).

One method to suss out a settings or add-on issue is:

New Profile Test

This takes about 3 minutes, plus the time to test your problem page.

Inside Firefox, type or paste about:profiles in the address bar and press Enter/Return to load it.

Take a quick glance at the page and make a mental note of which Profile has this notation: This is the profile in use and it cannot be deleted. That is your current default profile.

Click the "Create a New Profile" button, then click Next. Assign a name like Oct2020, ignore the option to relocate the profile folder, and click the Finish button.

Firefox will switch your default profile to the new one, so click the Set as Default Profile button for your regular one to avoid an unwanted surprise at your next startup.

Scroll down to Oct2020 and click its Launch profile in new browser button.

Firefox should open a new window that looks like a brand new, uncustomized installation. (Your existing Firefox window(s) should not be affected.) Please ignore any tabs enticing you to connect to a Sync account or to activate extensions found on your system so we can get a clean test.

Does the problem page work any better in Print Preview in the new profile?

When you are done with the experiment, you can close the extra window without affecting your regular Firefox profile. (Oct2020 will remain available for future testing.)

more options

Ok, it did print preview correctly this time. Other than default stuff I only installed 1 extension. To disable JS. I will look into it and post back.

Thanks for your help,

Charles

more options

I found that if I change to 'Landscape' mode Firefox will print the page correctly. As soon as I change back to 'Portrait' mode the problem returns.

I guess your suggestion will be to use the new profile?


Thanks for you help,

Charles

more options

Hi Charles, if I understand correctly:

  • New profile: both profile and landscape continue the Legend 2 fieldset side-by-side with the Legend 1 fieldset on page 2
  • Regular profile: only landscape continues the side-by-side layout on page 2; in portrait, the Legend 2 items that don't fit on page 1 wrap to the bottom of the Legend 1 fieldset on page 3

I cannot think of what is causing this issue. Does it matter if you control the Scale factor manually? In Print Preview, on the toolbar, if you try 100% instead of Shrink to Fit, or 90%, is there any difference?

more options

Hi,

Yes, your statement is correct. I checked and I only have 1 extension installed, to disable JS. I disabled it but that made no difference. Shrink to Fit and 100% both print wrong. 90% did print correctly. I guess I'm forced to use the new profile.

BTW, is there any developer network? Where can I ask a CSS developer question? Is Mozilla EVER going to expand the new HTML5 controls to fill the line height? Take input type=number, the up/down buttons are so small. Why don't they fill the line height, like the down arrow of a select?

Thanks for your help,

Charles

more options

We have an article on developer questions, but the issue of the appearance of spinner buttons probably is more of a suggested change.

Where to go for developer support

You have many choices to submit feature suggestions, depending on your desired style of interaction:

Discussion Sites/Advocacy

Limited Length Comments

Bug Tracking System

more options

Ok, thank you very much for the help.

Charles