styles are not added to iframe while render a iframe window
wuceyang opened this issue · 1 comments
wuceyang commented
Version
2.6.10
Reproduction link
Steps to reproduce
click print button and inspect the print preview window, and the title css not work(color: blue, font-size: 36px)
What is expected?
component compiled and rendered in iframe contentWindow with css
What is actually happening?
css is compiled into current document, not in iframe
posva commented
This is a native browser behavior. If you to print using an iframe, you need to copy the styles