<?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>211891</bug_id>
          
          <creation_ts>2020-05-14 06:46:41 -0700</creation_ts>
          <short_desc>[Interop 2021][css-flexbox] WPT tests failing on Mac due to font rendering</short_desc>
          <delta_ts>2022-09-16 07:37:25 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=212054</see_also>
          <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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Tim Nguyen (:ntim)">ntim</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>ntim</cc>
    
    <cc>svillar</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1652608</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2020-05-14 06:46:41 -0700</bug_when>
    <thetext>The WPT test css/css-flexbox/flexbox_direction-row-reverse.html (imported/w3c/web-platform-tests/css/css-flexbox/flexbox_direction-row-reverse.html) fails on Mac due to small differences in how the test font its rendered:

Check the diff: https://wpt.fyi/analyzer?screenshot=sha1%3A49959e251d81e5e1b670007fb2b16f987ffc3cb8&amp;screenshot=sha1%3Aa0079d4c058551db56b11d3caed6e736abffc876

This issue doesn&apos;t happen on other ports like iOS or GTK.

The test imported/w3c/web-platform-tests/css/css-flexbox/flexbox_direction-row-reverse.html and css3/flexbox/csswg/flexbox_direction-row-reverse.html are in theory the same and should be de-duplicated.

However, in r180652 we did a change to css3/flexbox/csswg/flexbox_direction-row-reverse.html that was never exported to WPT so we ended with two different copies of the test.

The change done in r180652 is about using Ahem font instead of a normal font to the test.

Ideally we should:

 - Replace imported/w3c/web-platform-tests/css/css-flexbox/flexbox_direction-row-reverse.html with css3/flexbox/csswg/flexbox_direction-row-reverse.html
 - Export the changes done in r180652 to WPT</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1726986</commentid>
    <comment_count>1</comment_count>
    <who name="Sergio Villar Senin">svillar</who>
    <bug_when>2021-02-09 02:18:47 -0800</bug_when>
    <thetext>These 3 additional ones have the same issue

imported/w3c/web-platform-tests/css/css-flexbox/flexbox-align-self-vert-003.xhtml 
imported/w3c/web-platform-tests/css/css-flexbox/flexbox-align-self-vert-004.xhtml 
imported/w3c/web-platform-tests/css/css-flexbox/flexbox-align-self-vert-rtl-001.xhtml</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1873029</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-05-31 10:25:49 -0700</bug_when>
    <thetext>&lt;rdar://problem/94161403&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1873176</commentid>
    <comment_count>3</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2022-05-31 17:01:23 -0700</bug_when>
    <thetext>Sounds like a good idea.

Is the WebKit bug tracker the right place to track a change to WPT? Maybe this bug is just being used to track another WPT bug?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1891568</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2022-08-15 20:55:52 -0700</bug_when>
    <thetext>I exported Myles&apos; change to WPT: https://github.com/web-platform-tests/wpt/pull/35482</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1898968</commentid>
    <comment_count>5</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2022-09-16 07:36:34 -0700</bug_when>
    <thetext>https://github.com/web-platform-tests/wpt/pull/35921</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>