WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
17038
Font size does not work correct when using the HTML GUI Editing on GuildPortal
https://bugs.webkit.org/show_bug.cgi?id=17038
Summary
Font size does not work correct when using the HTML GUI Editing on GuildPortal
Bryan Pietrzak
Reported
2008-01-27 19:21:43 PST
GuildPortal has a forums section. When editing a message there is a GUI HTML Editor. The font size is normally 1-7 in FireFox, etc. But in Safari 3 it looks to be point sizes. Trying to change any text to a different point size results in just BIG (48 pt) text appearing, and all point size changes fail - they are always set to 48pt. To repro this, visit the GuildPortal site at
http://www.guildportal.com/
you may need an account. Visit any site that has forums. For example, here's my guild from WoW:
http://www.guildportal.com/Guild.aspx?GuildID=37830&TabID=335619
Just go to any forum and create a new thread and try to edit the font size of some text in the message. It's 100% reproducible. This happens in Safari 3 in 10.5.1 and the nighty build (
r29807
)
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2008-01-28 09:37:40 PST
Did this work correctly in Safari 2?
Bryan Pietrzak
Comment 2
2008-01-28 10:42:43 PST
(In reply to
comment #1
)
> Did this work correctly in Safari 2?
GUI HTML editing in Safari 2 was pretty poor - enough so that I very rarely used it on GuildPortal. So to be honest I can't remember and don't have a 10.4 machine around to test.
Alexey Proskuryakov
Comment 3
2008-01-29 01:49:12 PST
For setting font size, the site uses execCommand: document.ecexCommand("FontSize", false, "10pt"). But the third parameter is supposed to be an HTML font size ("1" to "7"). Neither IE nor Firefox support point sizes as FontSize values - IE just ignores such a command, while Firefox sets the size to a maximum, just like WebKit. Theoretically, it is possible that we are doing something wrong earlier, which results in a bad parameter value being passed. But chances are that the site has incorrect Safari-specific code that is not executed in other browsers. Possibly, this was a workaround for Safari 2 bugs which is now causing problems in Safari 3. Moving to Evangelism. If you could contact the site webmaster bout this issue, that would be very appreciated!
Bryan Pietrzak
Comment 4
2008-01-29 08:17:52 PST
(In reply to
comment #3
)
> Moving to Evangelism. If you could contact the site webmaster bout this issue, > that would be very appreciated!
Thank you. I've filed a bug report with GuildPortal and referenced this bug's URL so this info should get to them.
Robert Blaut
Comment 5
2008-12-26 12:13:10 PST
Changing User Agent to "Firefox" fixes the problem.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug