DescriptionSwitch from WebDocument::insertStyleText to ::insertUserStyleSheet for programatic CSS injection.
Inserting CSS as a user stylesheet is both consistent with content script
injection and better for compatibility, since it does not affect the page's DOM.
Removes the other call of insertStyleText (for infobar CSS injection),
thus it should be possible to remove it after a WebKit roll.
Depends on http://webkit.org/b/65158
BUG=82220
TEST=no
R=mpcomplete@chromium.org
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=94499
Patch Set 1 #
Total comments: 1
Patch Set 2 : Rebaseline #
Messages
Total messages: 7 (0 generated)
|