Ticket #140 (closed Bug: duplicate)

Opened 21 months ago

Last modified 2 weeks ago

Browser specific differences for page-break-after

Reported by: jmgriess@… Owned by:
Priority: Normal Milestone:
Component: General Version: FCKeditor 2.4
Keywords: Pending Cc: jm.griess@…

Description

E 7 :

<div style="page-break-after: always"><span style="display:
none">&nbsp;</span></div>

Firefox 2 :

<div style="page-break-after: always;"><span style="display:
none;">&nbsp;</span></div>

difference : always => always; and none => none;

Jean-Marie Griess (jm.griess@…)

Change History

Changed 21 months ago by fredck

  • cc jm.griess@… added
  • reporter changed from fredck to jmgriess@…

Changed 21 months ago by fredck

Could you please point use the real problem caused by such difference?

Changed 21 months ago by jm.griess@…

using [page-break-after] in FCKeditor for pagin page (drupal-Wordpress-etc.) the difference generate trouble... enjoy - Jean-Marie Griess

Changed 21 months ago by fredck

  • keywords Pending added

Sorry Jean-Marie... this is a bug report, so of course it is related to an issue that "generates trouble". What we need is a precise description about that trouble. How to reproduce it here, in the FCKeditor development context. If we are not able to understand it, we will not be able to fix it.

Changed 19 months ago by fredck

  • status changed from new to closed
  • resolution set to invalid

This ticket has expired. Please reopen it if necessary.

Changed 2 weeks ago by yaacovCR

  • status changed from closed to reopened
  • resolution invalid deleted

Hi,

I'm trying to use FCKEditor as my editor and an HTML differ to show the differences between two different versions of the page. The problem I run into is that different browsers will style the same text differently.

Example: I create text in Google chrome, and save some text:

<div style="margin: 0pt 0pt 0pt 144pt; text-indent: -18pt">
<span style="font: 7pt 'Times New Roman'">
Text
</span>
</div>

When I open the above in Firefox and save again, I get:

<div style="margin: 0pt 0pt 0pt 144pt; text-indent: -18pt;">
<span style=""font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 7pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;">
Text
</span>
</div>

My diffing software now believes the styles have changed, although the user did not do anything. Is it possible for Fckeditor to give the same output no matter which browser it is used in? Does it try to match the output to the browser? Thanks so much! FCKEditor is awesome!

Changed 2 weeks ago by alfonsoml

  • status changed from reopened to closed
  • resolution set to duplicate

dup of #1810

Note: See TracTickets for help on using tickets.