embed element without src and type attributes should represent nothing [1]: """ While any of the following conditions are occurring, any plugin instantiated for the element must be removed, and the embed element represents nothing: - The element has neither a src attribute nor a type attribute. - The element has a media element ancestor. - The element has an ancestor object element that is not showing its fallback content. """ Currently, WebKit renders such embed. This is causing the following newly imported W3C tests to fail: http/tests/w3c/html/semantics/embedded-content/the-embed-element/embed-represent-nothing-01.html http/tests/w3c/html/semantics/embedded-content/the-embed-element/embed-represent-nothing-02.html [1] https://html.spec.whatwg.org/multipage/embedded-content.html#the-embed-element
rdar://problem/22588235
Created attachment 264966 [details] WIP Patch
Created attachment 264974 [details] Patch
Comment on attachment 264974 [details] Patch Clearing flags on attachment: 264974 Committed r192132: <http://trac.webkit.org/changeset/192132>
All reviewed patches have been landed. Closing bug.
It looks like it broke https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=fast%2Freplaced%2Freplaced-breaking.html
(In reply to comment #6) > It looks like it broke > https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard. > html#showAllRuns=true&tests=fast%2Freplaced%2Freplaced-breaking.html I'll take a look.
(In reply to comment #7) > (In reply to comment #6) > > It looks like it broke > > https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard. > > html#showAllRuns=true&tests=fast%2Freplaced%2Freplaced-breaking.html > > I'll take a look. It is odd. The test has a slightly different output on ElCapitan/WK1 only.