0
Files
src/content/browser
Dan Harrington 3436d753b0 MHTML: fix some issues with styles
This CL makes two changes:

1. For <style> nodes that have unmodified stylesheets, do not
   modify the <style> node. Because round-tripping from text
   to CSS rules back to text is lossy, this sometimes avoids
   problems. See crbug.com/40804066 for why it's lossy.
2. For <style> nodes that have been modified, serialize them
   inline as a <style> node rather than as a <link> node.
   Serializing styles into another resource changes the
   baseURL, which will break how relative URLs are
   interpreted.

Bug: 363289333
Change-Id: Id165d21e5ab61f41b60d27e3c030d24da7832615
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5883007
Reviewed-by: Min Qin <qinmin@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Dan H <harringtond@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1373409}
2024-10-24 17:31:57 +00:00
..
2024-08-06 02:43:45 +00:00
2024-07-15 19:40:30 +00:00
2024-07-06 14:14:10 +00:00
2024-07-06 14:14:10 +00:00

This directory contains the core code needed for the browser process of a multi-process sandboxed browser.