<?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>186343</bug_id>
          
          <creation_ts>2018-06-06 03:58:15 -0700</creation_ts>
          <short_desc>font-variant-east-asian accepts invalid values</short_desc>
          <delta_ts>2022-07-15 13:19:00 -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>CSS</component>
          <version>Safari 11</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Willigers">ericwilligers</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>mmaxfield</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1430399</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Willigers">ericwilligers</who>
    <bug_when>2018-06-06 03:58:15 -0700</bug_when>
    <thetext>Spec:
https://drafts.csswg.org/css-fonts-3/#propdef-font-variant-east-asian
Value:	normal | [ &lt;east-asian-variant-values&gt; || &lt;east-asian-width-values&gt; || ruby ]
&lt;east-asian-variant-values&gt; = [ jis78 | jis83 | jis90 | jis04 | simplified | traditional ]
&lt;east-asian-width-values&gt;   = [ full-width | proportional-width ]

Test case:
https://jsfiddle.net/ericwilligers/m6aLhzb3/

The following should each be rejected:
  &apos;jis83 jis90&apos;
  &apos;full-width proportional-width&apos;
  &apos;jis90 proportional-width ruby full-width jis83&apos;

WebKit currently serializes these as
  &apos;jis90&apos;
  &apos;proportional-width&apos;
  &apos;jis83 full-width ruby&apos;

i.e. it ignores all but the last of the east-asian-variant-values, and all but the last of the east-asian-width-values.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1884152</commentid>
    <comment_count>1</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-15 13:19:00 -0700</bug_when>
    <thetext>Safari, Chrome, and Firefox all agree on rendering for this test case. I don&apos;t believe there is any remaining compatibility issue.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>