Opened 14 years ago
Closed 14 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.
- Open _samples/fullpage.html
- Start with:
<html> <head> </head> <body> <p> Write your email message here schol.</p> <p> You can also...</p> </body> </html>
- Enable SCAYT
- Open the Check Spell dialog, correct one word
- Click on Finish Checking
- Open the Check Spell dialog again
- Click on Finish Checking
- Check the source code, if it's ok, repeat 6-7 one more time.
- 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.
Dup of #5854