Bug 259550

Summary: Convert <embed hidden> into a proper boolean attribute
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ntim, rniwa, webkit-bug-importer
Priority: P2 Keywords: InRadar, WPTImpact
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Description Ahmad Saleem 2023-07-27 04:20:57 PDT
Hi Team,

This is to fix test case:

WPT Live Link: http://wpt.live/html/semantics/embedded-content/the-embed-element/embed-hidden-attribute.html

Blink Commit: https://chromium-review.googlesource.com/c/chromium/src/+/3565492

________

Adding following in UA Stylesheet:

embed[hidden] { 
    display: inline; 
    height: 0; 
    width: 0;
} 

or fix by merging Blink Commit:

https://searchfox.org/wubkat/source/Source/WebCore/html/HTMLEmbedElement.cpp#82

_____

UA Stylesheet fixes this above test case in WebKit but haven't run any test suite locally to confirm, if it regresses anything.

Thanks!
Comment 1 EWS 2023-07-28 14:05:14 PDT
Committed 266399@main (54238fd39a0d): <https://commits.webkit.org/266399@main>

Reviewed commits have been landed. Closing PR #16163 and removing active labels.
Comment 2 Radar WebKit Bug Importer 2023-07-28 14:06:19 PDT
<rdar://problem/113051256>