<?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>266901</bug_id>
          
          <creation_ts>2023-12-26 14:28:32 -0800</creation_ts>
          <short_desc>UA Stylesheet adds &apos;1px&apos; border top width for &apos;iframe&apos; in fullscreen WPT test case</short_desc>
          <delta_ts>2025-02-06 23:45:35 -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>CSS</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>249069</dup_id>
          
          <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>ntim</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2002029</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-12-26 14:28:32 -0800</bug_when>
    <thetext>Hi Team,

While looking into browser specific failures, I noticed that we are failing following Test Case:

WPT Test Case: https://wpt.fyi/results/fullscreen/rendering/ua-style-iframe.html?label=master&amp;label=experimental&amp;aligned&amp;q=fullscreen

WPT Test Live Link: http://wpt.live/fullscreen/rendering/ua-style-iframe.html

It fails in Safari (even WebKit ToT) with following:

&gt; assert_equals(&quot;1px&quot;, &quot;0px&quot;, &quot;fullscreen borderTopWidth style&quot;)

I looked into &apos;fullscreen.css&apos; and we have &apos;border: none&apos; with !important as well. Similarly, I looked into presentational hints in &apos;HTMLIframeElement.cpp&apos; and we don&apos;t have 1 px (like we had for HR in the past).

I even tried to look into &apos;html.css&apos; but couldn&apos;t find &apos;1 px&apos;. So I am just raising so we can track and fix this issue.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2002031</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-12-26 14:54:35 -0800</bug_when>
    <thetext>This seems more like a timing issue, WebKit might be updating styles later than the test expects, but the border-width is correct when you&apos;re in fullscreen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2002615</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-01-02 14:29:14 -0800</bug_when>
    <thetext>&lt;rdar://problem/120386877&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2092709</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2025-02-06 23:45:35 -0800</bug_when>
    <thetext>Fixed via - https://github.com/WebKit/WebKit/commit/cba51d14a79420eea435792f37f3e379bc523bb9#diff-1fd83580913d21fb150911a2a25d0b001c80556841e7cd098cdf46a008de4824

*** This bug has been marked as a duplicate of bug 249069 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>