Opened 8 years ago

Closed 8 years ago

#6858 closed Bug (duplicate)

Full page mode: Spell check dialog adds extra class to body element

Reported by: Wiktor Walc Owned by:
Priority: Normal Milestone:
Component: UI : Spell Checker Version: 3.3
Keywords: Cc: WebSpellChecker.net

Description

When SCAYT is enabled and the spell check dialog is used to check the document, an extra class is added to the body element.

  1. Open _samples/fullpage.html
  2. Start with:
    <html>
    	<head>
    	</head>
    	<body>
    		<p>
    			Write your email message here schol.</p>
    		<p>
    			You can also...</p>
    	</body>
    </html>
    
  3. Enable SCAYT
  4. Open the Check Spell dialog, correct one word
  5. Click on Finish Checking
  6. Open the Check Spell dialog again
  7. Click on Finish Checking
  8. Check the source code, if it's ok, repeat 6-7 one more time.
  9. Result 'class="scayt-enabled"' has been added to the body tag:
    <html>
    	<head>
    		<title></title>
    	</head>
    	<body class="scayt-enabled">
    		<p>
    			Write your email message here school.</p>
    		<p>
    			You can also...</p>
    	</body>
    </html>
    

Confirmed in Safari 5.0.3 and Firefox 3.6.13.

Change History (1)

comment:1 Changed 8 years ago by Wiktor Walc

Resolution: duplicate
Status: newclosed

Dup of #5854

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy