RESOLVED DUPLICATE of bug 249069 266901
UA Stylesheet adds '1px' border top width for 'iframe' in fullscreen WPT test case
https://bugs.webkit.org/show_bug.cgi?id=266901
Summary UA Stylesheet adds '1px' border top width for 'iframe' in fullscreen WPT test...
Ahmad Saleem
Reported 2023-12-26 14:28:32 PST
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&label=experimental&aligned&q=fullscreen WPT Test Live Link: http://wpt.live/fullscreen/rendering/ua-style-iframe.html It fails in Safari (even WebKit ToT) with following: > assert_equals("1px", "0px", "fullscreen borderTopWidth style") I looked into 'fullscreen.css' and we have 'border: none' with !important as well. Similarly, I looked into presentational hints in 'HTMLIframeElement.cpp' and we don't have 1 px (like we had for HR in the past). I even tried to look into 'html.css' but couldn't find '1 px'. So I am just raising so we can track and fix this issue. Thanks!
Attachments
Tim Nguyen (:ntim)
Comment 1 2023-12-26 14:54:35 PST
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're in fullscreen.
Radar WebKit Bug Importer
Comment 2 2024-01-02 14:29:14 PST
Note You need to log in before you can comment on or make changes to this bug.