<?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>102509</bug_id>
          
          <creation_ts>2012-11-16 07:30:45 -0800</creation_ts>
          <short_desc>Text Autosizing: Upscale small inline images like smileys.</short_desc>
          <delta_ts>2016-09-19 15:12:33 -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>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>102504</dependson>
          <blocked>84186</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="John Mellor">johnme</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dbates</cc>
    
    <cc>timvolodine</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>769257</commentid>
    <comment_count>0</comment_count>
    <who name="John Mellor">johnme</who>
    <bug_when>2012-11-16 07:30:45 -0800</bug_when>
    <thetext>When small images are included inline within text that gets autosized, the images aren&apos;t currently resized and so end up disproportionately small. Examples of images for which this happens:
- smileys
- sparklines
- icons indicating that clicking a link takes you to an external site

These images tend to either be included using an inline &lt;img&gt;, or via css e.g.:
    a.external {
        padding-right: 21px;
        background: url(external-link.png) right center no-repeat;
    }

We should try to scale up these images in proportion to the text autosizing multiplier.

The hardest part may be determining what the maximum size cut-off is at which we stop doing this. Perhaps require that the image height be &lt;= max(font-size, line-height)?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>769260</commentid>
    <comment_count>1</comment_count>
    <who name="John Mellor">johnme</who>
    <bug_when>2012-11-16 07:34:41 -0800</bug_when>
    <thetext>See also bug 102504, which includes an example where not scaling a background-image breaks the design, and discusses scaling of background-images.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1231356</commentid>
    <comment_count>2</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2016-09-19 15:12:33 -0700</bug_when>
    <thetext>Marking this bug Resolved WontFix because the TEXT_AUTOSIZING feature was removed in &lt;https://trac.webkit.org/changeset/206119&gt; (bug #162167). See bug 84186, comment 32 for more details.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>