<?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>256525</bug_id>
          
          <creation_ts>2023-05-09 08:48:47 -0700</creation_ts>
          <short_desc>Clamp frameset cols/rows values safely to integers for absolute &amp; percentage</short_desc>
          <delta_ts>2023-07-19 13:34:03 -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>Frames</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=256764</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar, WPTImpact</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ahmad Saleem">ahmad.saleem792</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1954043</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-05-09 08:48:47 -0700</bug_when>
    <thetext>Hi Team,

While looking at &apos;frameset&apos; failure, I came across another Blink commit, which can lead to passes on WPT:

Failing WPT Tests: https://wpt.fyi/results/html/rendering/non-replaced-elements/the-frameset-and-frame-elements?label=master&amp;label=experimental&amp;aligned=&amp;q=frameset

large-cols-abssize.html 
large-cols-percentage.html 
large-cols-relsize.html 
large-rows-abssize.html 
large-rows-percentage.html 
large-rows-relsize.html

Blink Commit - https://chromium.googlesource.com/chromium/src.git/+/7091ff7be362763203b68fb09f48898258df0c37

WebKit Source - https://searchfox.org/wubkat/source/Source/WebCore/rendering/RenderFrameSet.cpp#186

Just wanted to raise, so this can be fixed. I tried locally to do clampTo&lt;int&gt; but these tests still fail, so it might be not my expertise area.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1955672</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-05-16 08:49:25 -0700</bug_when>
    <thetext>&lt;rdar://problem/109407606&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1967391</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-07-19 13:34:03 -0700</bug_when>
    <thetext>For some reason, it does not lead to progressions on GTK-WK2 and WPE-WK2. I am closing my PR.

PR - https://github.com/WebKit/WebKit/pull/13858

But anyone from GTK-WK2 team, who can help in investigating the failures?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>