auto merge of #3747 : mrobinson/servo/validate-display-list, r=pcwalton

When this option is enabled, the layout task will print an error when
display list items draw outside their owning Flow's position rect. This
will make it easier to detect layout errors before they break rendering.

This is a command-line option for the moment, because we violate this
rule quite a bit still. Once all bugs causing this are fixed, we can be
more aggressive about enabling the option.
This commit is contained in:
bors-servo 2014-10-21 17:51:43 -06:00
commit f5ad89f927
3 changed files with 36 additions and 0 deletions

View file

@ -74,6 +74,7 @@ pub extern "C" fn cef_run_message_loop() {
initial_window_size: TypedSize2D(800, 600),
user_agent: None,
dump_flow_tree: false,
validate_display_list_geometry: false,
};
native::start(0, 0 as *const *const u8, proc() {
let window = Some(glfw_app::create_window());