[webkit-changes] [WebKit/WebKit] 25fb6b: Have PluginDocument express its style through a st...

Simon Fraser noreply at github.com
Fri Sep 29 19:42:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 25fb6b6518a0ba1f00dbdbeb0b630639db1b8aa0
      https://github.com/WebKit/WebKit/commit/25fb6b6518a0ba1f00dbdbeb0b630639db1b8aa0
  Author: Simon Fraser <simon.fraser at 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




More information about the webkit-changes mailing list