Closed Bug 394305 Opened 17 years ago Closed 12 years ago

'superscript' command does not use css styles in DesignMode

Categories

(Core :: DOM: Editor, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 394304

People

(Reporter: kevin.heart, Unassigned)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6) Gecko/20070723 Iceweasel/2.0.0.6 (Debian-2.0.0.6-0etch1)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a8pre) Gecko/2007082201 SeaMonkey/2.0a1pre

'superscript' command does not use css styles in DesignMode when format of generated content is set to css styles.

Reproducible: Always

Steps to Reproduce:
1.open the test page
Actual Results:  
Rich text editing function: "superscript" does not use CSS styles when
format of generated content is set to CSS styles by 'styleWithCSS' or 'useCSS'
command.


Expected Results:  
Generated content by function "superscript" uses CSS styles.
Attached file test page
test page
Minor error in the test cases
attachment 278948 [details]
attachment 278945 [details]
attachment 278947 [details]
attachment 278946 [details]

doActionOnSelection("TEST.", "superscript", null, "css_superscript", "html_superscript", "res_superscript", 
'<span style="vertical-align: sub;">TEST.</span>', 
'<sup>TEST.</sup>');	
			

CSS says "vertical-align: sub;"
I assume you meant "super"
Status: UNCONFIRMED → NEW
Ever confirmed: true
Component: General → Editor
Product: Mozilla Application Suite → Core
Version: unspecified → Trunk
Blocks: 424615
Assignee: general → nobody
QA Contact: general → editor
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: