mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
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:
commit
f5ad89f927
3 changed files with 36 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue