<?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>151471</bug_id>
          
          <creation_ts>2015-11-19 18:13:31 -0800</creation_ts>
          <short_desc>font-variant-position does not work if the font does not support font features</short_desc>
          <delta_ts>2025-02-13 23:55:50 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Text</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>149779</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Myles C. Maxfield">mmaxfield</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jdaggett</cc>
    
    <cc>jonlee</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>phiw2</cc>
    
    <cc>rich</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1143529</commentid>
    <comment_count>0</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2015-11-19 18:13:31 -0800</bug_when>
    <thetext>We need to implement synthesis in this case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1145750</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2015-12-02 15:05:22 -0800</bug_when>
    <thetext>&lt;rdar://problem/23732338&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1149181</commentid>
    <comment_count>2</comment_count>
    <who name="John Daggett">jdaggett</who>
    <bug_when>2015-12-14 19:48:40 -0800</bug_when>
    <thetext>gecko bug for this:
https://bugzilla.mozilla.org/show_bug.cgi?id=1024804

reftests (see subsuper*):
http://hg.mozilla.org/mozilla-central/file/tip/layout/reftests/font-features</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2045523</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Rutter">rich</who>
    <bug_when>2024-07-10 04:37:47 -0700</bug_when>
    <thetext>If all the characters within the element to be superscripted are available in the webfont then these should be used (this works). However if other characters are present within the sup element, then the entire string should be synthesized. As per the CSS Fonts Module Level 4 spec:

Because of the semantic nature of subscripts and superscripts, when the value [of font-variant-position] is either sub or super for a given contiguous run of text, if a variant glyph is not available for all the characters in the run, simulated glyphs should be synthesized for all characters using reduced forms of the glyphs that would be used without this feature applied.


This is now implemented correctly in Firefox.


Test page: https://clagnut.com/sandbox/subsup.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2094718</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Rutter">rich</who>
    <bug_when>2025-02-13 23:55:50 -0800</bug_when>
    <thetext>I see this bug didn&apos;t make it into Interop again. Any chance it could be prioritised nonetheless? The bug is harmful in that it removes important visual semantics implied by superscripts and subscripts.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>