<?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>14454</bug_id>
          
          <creation_ts>2007-06-28 21:52:57 -0700</creation_ts>
          <short_desc>Truncated values in option pop-ups (used to affect united.com)</short_desc>
          <delta_ts>2020-10-23 13:32:21 -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>Forms</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc>http://www.united.com/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gavin Sherlock">gsherloc</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ddkilzer</cc>
    
    <cc>ian</cc>
    
    <cc>jdanni</cc>
    
    <cc>jensimmons</cc>
    
    <cc>kevin</cc>
    
    <cc>mitz</cc>
    
    <cc>sstigler1985</cc>
    
    <cc>vicki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>5928</commentid>
    <comment_count>0</comment_count>
    <who name="Gavin Sherlock">gsherloc</who>
    <bug_when>2007-06-28 21:52:57 -0700</bug_when>
    <thetext>At united.com the popup menus used to select the dates for a flight (left hand side of the page) have values which appear truncated.  Looks fine in Firefox.  Tested with r23841.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5943</commentid>
    <comment_count>1</comment_count>
    <who name="">mitz</who>
    <bug_when>2007-06-29 01:29:10 -0700</bug_when>
    <thetext>Compared to Firefox, the popups are the same width and the font is the same size, but WebKit leaves less room for the text.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5398</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-07-06 03:53:46 -0700</bug_when>
    <thetext>*** Bug 11204 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5345</commentid>
    <comment_count>3</comment_count>
    <who name="Gavin Sherlock">gsherloc</who>
    <bug_when>2007-07-06 07:22:40 -0700</bug_when>
    <thetext>Added NeedsReduction keyword</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64494</commentid>
    <comment_count>4</comment_count>
      <attachid>17957</attachid>
    <who name="Sam Stigler">sstigler1985</who>
    <bug_when>2007-12-17 01:34:17 -0800</bug_when>
    <thetext>Created attachment 17957
Reduction without adding any new code

Although this reduction is somewhat more true to form in that it stays with the original code of the page, look at reducedmore.html (the next attachment) for a much more succinct reduction; one that doesn&apos;t include any Javascript.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64495</commentid>
    <comment_count>5</comment_count>
      <attachid>17958</attachid>
    <who name="Sam Stigler">sstigler1985</who>
    <bug_when>2007-12-17 01:35:55 -0800</bug_when>
    <thetext>Created attachment 17958
More succinct (i.e., better) reduction</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64497</commentid>
    <comment_count>6</comment_count>
      <attachid>17958</attachid>
    <who name="Sam Stigler">sstigler1985</who>
    <bug_when>2007-12-17 01:38:27 -0800</bug_when>
    <thetext>Comment on attachment 17958
More succinct (i.e., better) reduction

The issue appears to be that the width of &lt;select&gt; element is manually set too thin in its &apos;style&apos; attribute.  If you remove the &apos;style&apos; attribute from the &lt;select&gt; elements, they will behave as expected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64528</commentid>
    <comment_count>7</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-12-17 08:10:42 -0800</bug_when>
    <thetext>Thanks for the reduction, Sam!  This is clearly an Evangelism issue.

Bug 13610 is a similar evangelism issue for Hotwire.com email messages.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64533</commentid>
    <comment_count>8</comment_count>
    <who name="">mitz</who>
    <bug_when>2007-12-17 08:17:36 -0800</bug_when>
    <thetext>(In reply to comment #7)
&gt; This is clearly an Evangelism issue.

As I wrote,

&gt; Compared to Firefox, the popups are the same width and the font is the same
&gt; size, but WebKit leaves less room for the text.

Can we offer the websites in question any solution that will work with both Firefox and Safari? Maybe WebKit&apos;s popup button inner metrics should be reconsidered?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64535</commentid>
    <comment_count>9</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-12-17 08:35:17 -0800</bug_when>
    <thetext>(In reply to comment #8)
&gt; &gt; Compared to Firefox, the popups are the same width and the font is the same
&gt; &gt; size, but WebKit leaves less room for the text.
&gt; 
&gt; Can we offer the websites in question any solution that will work with both
&gt; Firefox and Safari? Maybe WebKit&apos;s popup button inner metrics should be
&gt; reconsidered?

At what point do we stop trying to fit the text into the element, though?  A style of &quot;width: 1px&quot;?

If we changed the font metrics (kerning, etc.) to match Firefox, would these pop-up buttons look out-of-place with the rest of the page in Safari?

Unless we can make a one-time change to the font metrics, it seems like this would be a slippery slope.

Another solution may be to use an ellipsis if we know the text won&apos;t fit in the width provided (assuming the ellipsis would fit itself!).

Does HTML5 have anything to say about fitting text into a pop-up button when you start changing the width style (on any input element)?
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64539</commentid>
    <comment_count>10</comment_count>
    <who name="">mitz</who>
    <bug_when>2007-12-17 09:24:07 -0800</bug_when>
    <thetext>Actually, Firefox 3, which uses Aqua buttons, truncates the text just like Safari, so I don&apos;t think changes to WebKit should be considered.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180729</commentid>
    <comment_count>11</comment_count>
    <who name="Julio Danni">jdanni</who>
    <bug_when>2010-01-14 08:15:50 -0800</bug_when>
    <thetext>It&apos;s working fine to me with Chrome 4, webkit 532.5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180730</commentid>
    <comment_count>12</comment_count>
    <who name="Gavin Sherlock">gsherloc</who>
    <bug_when>2010-01-14 08:18:59 -0800</bug_when>
    <thetext>Did you look at the reduction?  The reduction still shows the problem in Webkit r53178.  The united.com site has changed since I reported the bug, so can&apos;t be used to demonstrate it anymore.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180733</commentid>
    <comment_count>13</comment_count>
    <who name="Julio Danni">jdanni</who>
    <bug_when>2010-01-14 08:26:33 -0800</bug_when>
    <thetext>(In reply to comment #12)
&gt; Did you look at the reduction?
Sorry, I did not. Anyway, I think this bug should be closed, since the page has changed and evangelism isn&apos;t needed anymore. I apologize if I&apos;m wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180929</commentid>
    <comment_count>14</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2010-01-14 14:37:38 -0800</bug_when>
    <thetext>(In reply to comment #13)
&gt; (In reply to comment #12)
&gt; &gt; Did you look at the reduction?
&gt; Sorry, I did not. Anyway, I think this bug should be closed, since the page has
&gt; changed and evangelism isn&apos;t needed anymore. I apologize if I&apos;m wrong.

I think it should be kept open.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>17957</attachid>
            <date>2007-12-17 01:34:17 -0800</date>
            <delta_ts>2007-12-17 01:34:17 -0800</delta_ts>
            <desc>Reduction without adding any new code</desc>
            <filename>reducedless.html</filename>
            <type>text/html</type>
            <size>1161</size>
            <attacher name="Sam Stigler">sstigler1985</attacher>
            
              <data encoding="base64">PGh0bWw+Cjxib2R5PgoKPHNjcmlwdCB0eXBlPSJ0Z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jcmlwdCIgdHlwZT0idGV4dC9qYXZhc2NyaXB0Ij4KCW9DYWxQ
b3BSID0gbmV3IG9DYWxfb2JqKCJvQ2FsUG9wUiIsInJldHVybnBvcCIsInNob3BfYXJyaXZlbW9u
dGgiLCJzaG9wX2Fycml2ZWRheSIsZmYyOVRvZGF5WWVhck1vbnRoLGZmMjlUb2RheUNhbGVuZGFy
RGF5LGZmMjlSZXRZZWFyTW9udGgsZmYyOVJldENhbGVuZGFyRGF5KTsJCQoJb0NhbFBvcFIuYklz
UG9wdXAgPSB0cnVlOwoJb0NhbFBvcFIuSW5pdCgpOwoJb0NhbFBvcEQub0NhbEZ3ID0gb0NhbFBv
cFI7CglvQ2FsUG9wUi5vQ2FsQmsgPSBvQ2FsUG9wRDsKPC9zY3JpcHQ+Cgo8L2JvZHk+CjwvaHRt
bD4KCgoKICAgICAgCgkJICAKCgoK
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>17958</attachid>
            <date>2007-12-17 01:35:55 -0800</date>
            <delta_ts>2007-12-17 01:35:55 -0800</delta_ts>
            <desc>More succinct (i.e., better) reduction</desc>
            <filename>reducedmore.html</filename>
            <type>text/html</type>
            <size>243</size>
            <attacher name="Sam Stigler">sstigler1985</attacher>
            
              <data encoding="base64">PHNlbGVjdCBzdHlsZT0id2lkdGg6NzRweDsiIG5hbWU9InJldE1vbnRoIj48b3B0aW9uPkRlYyAy
MDA3PC9vcHRpb24+PG9wdGlvbj5KYW4gMjAwODwvb3B0aW9uPjwvc2VsZWN0Pg0KDQo8c2VsZWN0
IHN0eWxlPSJ3aWR0aDo0MHB4OyIgbmFtZT0icmV0RGF5Ij48b3B0aW9uPjAxPC9vcHRpb24+PG9w
dGlvbj4wMjwvb3B0aW9uPjxvcHRpb24+MDM8L29wdGlvbj48L3NlbGVjdD4NCg0KDQoNCiAgICAg
IA0KCQkgIA0KDQoNCg0K
</data>

          </attachment>
      

    </bug>

</bugzilla>