Open Bug 1530930 Opened 7 years ago Updated 1 year ago

Issues with ASP.NET AJAX Control Toolkit - HTMLEditor

Categories

(Core :: DOM: Editor, defect, P3)

Desktop
All
defect

Tracking

()

Tracking Status
firefox65 --- affected
firefox66 --- affected
firefox67 --- affected

People

(Reporter: amit11794, Unassigned)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0

Steps to reproduce:

I am facing issues with ASP.NET AJAX Control Toolkit - HTMLEditor with the latest update of Firefox. It is changing the style mentioned in the HTML.

) I mentioned "<div style="page-break-after: always">Test</div>" in the "HTML text section".
) Then I clicked on "Design mode".
) After coming back to "HTML text section", it changed the HTML to "<div style="break-after: page;">Test</div>"

Please check the attached screenshots for the clearer picture. Also, it can be replicated on the below-mentioned link -
http://ajaxtoolkit.net/HTMLEditor/HTMLEditor.aspx

It was working fine till version 62 branch. It could have broken in any version after 62.0.
Currently, I am on version - Firefox Quantum [65.0.1 (64-bit)].

Actual results:

It changed the applied style in HTML.

From - style="page-break-after: always"
To - style="break-after: page;"

Expected results:

It should not change the style.

Alias: HTMLEditor
Summary: ASP.NET AJAX Control Toolkit - HTMLEditor → Issues with ASP.NET AJAX Control Toolkit - HTMLEditor

Hi @amit11794, here is my results of testing this issue:
[Platforms affected]: Windows 10, Mac OS X, Ubuntu 16.04
[Firefox versions affected]: 65.0.2- release, beta 66.0b13, latest nightly 67.0a1
on all cases the issue can be reproduced. Mention that on build 64 and below, of Firefox, the issue won't occur.
Thanks for your contribution.

Status: UNCONFIRMED → NEW
Component: Untriaged → Editor
Ever confirmed: true
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → Desktop
Version: 65 Branch → Trunk

I guess that this is from bug 775618 since page-break-after becomes alias of break-after

Hi Emilio, care to take a look due to comment 3? Thanks!

Flags: needinfo?(emilio)

Why is this an issue? Those two styles are exactly equivalent.

This also happens with other aliases, like, if you write:

<div style="-moz-transform: rotate(0);"></div>

It'll get turned into transform: rotate(0deg).

I don't know why the same doesn't happen in other browsers, but they probably take a different code-path, since for <div style="-webkit-transform: rotate(0)"></div>, element.style.cssText also returns just transform: rotate(0) in chrome and webkit.

Is the source of this editor available somewhere?

Alias: HTMLEditor
Flags: needinfo?(emilio) → needinfo?(amit11794)
Priority: -- → P3
Severity: normal → S3

Clear a needinfo that is pending on an inactive user.

Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE.

For more information, please visit BugBot documentation.

Flags: needinfo?(amit11794)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: