wpt icon indicating copy to clipboard operation
wpt copied to clipboard

Fix skipping CSP checks for styles when cloning nodes

Open servo-wpt-sync opened this issue 5 months ago • 0 comments

Cloned nodes were re-parsing already-parsed style attributes. As such, they were also checking CSP, which shouldn't happen as the original node already was checked for it.

The existing WPT test now mostly passes. It had two cases which were passing in no browsers.

Part of #4577

Reviewed in servo/servo#37465

servo-wpt-sync avatar Jun 14 '25 12:06 servo-wpt-sync