Bug 259550
| Summary: | Convert <embed hidden> into a proper boolean attribute | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | CSS | Assignee: | 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 | ||
Ahmad Saleem
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!
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
EWS
Committed 266399@main (54238fd39a0d): <https://commits.webkit.org/266399@main>
Reviewed commits have been landed. Closing PR #16163 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/113051256>