<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>17038</bug_id>
          
          <creation_ts>2008-01-27 19:21:43 -0800</creation_ts>
          <short_desc>Font size does not work correct when using the HTML GUI Editing on GuildPortal</short_desc>
          <delta_ts>2020-10-23 13:45:18 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Evangelism</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>NeedsReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Bryan Pietrzak">bryanzak</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>jensimmons</cc>
    
    <cc>webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>68402</commentid>
    <comment_count>0</comment_count>
    <who name="Bryan Pietrzak">bryanzak</who>
    <bug_when>2008-01-27 19:21:43 -0800</bug_when>
    <thetext>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&apos;s my guild from WoW: 

  http://www.guildportal.com/Guild.aspx?GuildID=37830&amp;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&apos;s 100% reproducible.

This happens in Safari 3 in 10.5.1 and the nighty build (r29807)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68451</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-01-28 09:37:40 -0800</bug_when>
    <thetext>Did this work correctly in Safari 2?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68465</commentid>
    <comment_count>2</comment_count>
    <who name="Bryan Pietrzak">bryanzak</who>
    <bug_when>2008-01-28 10:42:43 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; 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&apos;t remember and don&apos;t have a 10.4 machine around to test.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68562</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-01-29 01:49:12 -0800</bug_when>
    <thetext>For setting font size, the site uses execCommand: document.ecexCommand(&quot;FontSize&quot;, false, &quot;10pt&quot;). But the third parameter is supposed to be an HTML font size (&quot;1&quot; to &quot;7&quot;).

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!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68585</commentid>
    <comment_count>4</comment_count>
    <who name="Bryan Pietrzak">bryanzak</who>
    <bug_when>2008-01-29 08:17:52 -0800</bug_when>
    <thetext>(In reply to comment #3)

&gt; Moving to Evangelism. If you could contact the site webmaster bout this issue,
&gt; that would be very appreciated!

Thank you. I&apos;ve filed a bug report with GuildPortal and referenced this bug&apos;s URL so this info should get to them.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103489</commentid>
    <comment_count>5</comment_count>
    <who name="Robert Blaut">webkit</who>
    <bug_when>2008-12-26 12:13:10 -0800</bug_when>
    <thetext>Changing User Agent to &quot;Firefox&quot; fixes the problem. </thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>