mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Opt-in rather than opt-out to unsafe blocks in layout.
This commit is contained in:
parent
a819b0b1b6
commit
7c6b03abfe
12 changed files with 22 additions and 0 deletions
|
@ -30,6 +30,8 @@
|
|||
//! o Instead of `html_element_in_html_document()`, use
|
||||
//! `html_element_in_html_document_for_layout()`.
|
||||
|
||||
#![allow(unsafe_blocks)]
|
||||
|
||||
use canvas::canvas_paint_task::CanvasMsg;
|
||||
use context::SharedLayoutContext;
|
||||
use css::node_style::StyledNode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue