Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 25fb6b6518a0ba1f00dbdbeb0b630639db1b8aa0
      
https://github.com/WebKit/WebKit/commit/25fb6b6518a0ba1f00dbdbeb0b630639db1b8aa0
  Author: Simon Fraser <simon.fra...@apple.com>
  Date:   2023-09-29 (Fri, 29 Sep 2023)

  Changed paths:
    M Source/WebCore/html/PluginDocument.cpp

  Log Message:
  -----------
  Have PluginDocument express its style through a stylesheet rather than inline 
style
https://bugs.webkit.org/show_bug.cgi?id=262408
rdar://116257438

Reviewed by Tim Horton and Richard Robinson.

In the plug-in document, create a `<head>` element which contains a `<style>` 
element,
and set the text contents of the `style` element to style which is equivalent 
to the
inline style attributes that the old code was using.

* Source/WebCore/html/PluginDocument.cpp:
(WebCore::PluginDocumentParser::createStyleElement):
(WebCore::PluginDocumentParser::createDocumentStructure): Deleted.
(WebCore::PluginDocumentParser::appendBytes): Deleted.
(WebCore::PluginDocument::PluginDocument): Deleted.
(WebCore::PluginDocument::createParser): Deleted.
(WebCore::PluginDocument::pluginWidget): Deleted.
(WebCore::PluginDocument::setPluginElement): Deleted.
(WebCore::PluginDocument::detachFromPluginElement): Deleted.
(WebCore::PluginDocument::cancelManualPluginLoad): Deleted.

Canonical link: https://commits.webkit.org/268684@main


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to