<?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>209735</bug_id>
          
          <creation_ts>2020-03-30 05:23:44 -0700</creation_ts>
          <short_desc>Import css/CSS2 from WPT repository</short_desc>
          <delta_ts>2024-07-12 18:10:46 -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>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=225592</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=251538</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=215135</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=263892</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=258216</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=258212</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=258135</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=243940</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=243664</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=269848</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="Antti Koivisto">koivisto</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>annevk</cc>
    
    <cc>ap</cc>
    
    <cc>gsnedders</cc>
    
    <cc>jbedard</cc>
    
    <cc>karlcow</cc>
    
    <cc>m_dubet</cc>
    
    <cc>ntim</cc>
    
    <cc>ryanhaddad</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1635464</commentid>
    <comment_count>0</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2020-03-30 05:23:44 -0700</bug_when>
    <thetext>Import css/CSS2 from WPT repository</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1960173</commentid>
    <comment_count>1</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2023-06-06 17:35:08 -0700</bug_when>
    <thetext>Doing this would add ~7k new tests. Some people may have concerns about additions of this scale.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1988538</commentid>
    <comment_count>2</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2023-10-30 09:56:28 -0700</bug_when>
    <thetext>Let&apos;s use the See Also to track regressions we&apos;ve missed as a result of _not_ having these imported, because that hopefully makes it easier to justify the value of importing so many extra tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2015787</commentid>
    <comment_count>3</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2024-02-21 10:15:24 -0800</bug_when>
    <thetext>(In reply to Sam Sneddon [:gsnedders] from comment #1)
&gt; Doing this would add ~7k new tests. Some people may have concerns about
&gt; additions of this scale.

My ballpark estimate nine months ago was ~10–15% slowdown of overall test run time on the bots.

Clearly de-duplicating our old CSS2 imports would reduce the amount this is a regression, but we currently have only ~1k from these, so it&apos;ll still be a net-regression.

Additionally, our old imports are largely stored as *-expected.txt render trees, and only some of the CSS2 test suite has been converted to reftests since then — and we currently don&apos;t run visual tests for WPT tests (i.e., those we&apos;d presumably store render trees for), so we&apos;d potentially lose some coverage here, while gaining coverage from the more recent tests.

One possible option, though it would add thousands of new lines to TestExpectations would be to import the CSS2 test suite and simply skip the (largely low value, written for the sake of getting CSS 2.1 to REC) Microsoft-authored tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2015788</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-02-21 10:15:49 -0800</bug_when>
    <thetext>&lt;rdar://problem/123388507&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2015830</commentid>
    <comment_count>5</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2024-02-21 12:12:46 -0800</bug_when>
    <thetext>(In reply to Sam Sneddon [:gsnedders] from comment #3)
&gt; One possible option, though it would add thousands of new lines to
&gt; TestExpectations would be to import the CSS2 test suite and simply skip the
&gt; (largely low value, written for the sake of getting CSS 2.1 to REC)
&gt; Microsoft-authored tests.

For reference, this would import currently mean running 1947 new tests, and skipping 5181 tests. The thought of adding &gt;5k lines to TestExpectations (currently 7.5k lines) does not fill me with joy, however.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2016365</commentid>
    <comment_count>6</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2024-02-23 05:38:36 -0800</bug_when>
    <thetext>https://github.com/web-platform-tests/wpt/pull/44732 gets rid of ~1k reftests (replacing them with a single testharness.js test which takes tenths of a second to run).

Bug 269985 would probably also significantly decrease the test runtime for importing everything.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2046076</commentid>
    <comment_count>7</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2024-07-12 18:10:46 -0700</bug_when>
    <thetext>Sam’s PR has been merged that’s cool.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>