mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
prefs: Remove Opts::nonincremental_layout (#43207)
This setting is used to control whether or not incremental legacy layout was enabled. Nowadays incremental layout is always enabled as it is a fundamental feature of how layout works. The setting also controls whether or not nodes are traversed in Style, but that's also something that's much less interesting today. This change just removes this setting as it just controls the Stylo setting. A corresponding change in Stylo will also remove the setting there. Testing: This just removes a setting so existing tests should suffice. Fixes: This is part of #34967. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
@@ -464,11 +464,6 @@ struct CmdArgs {
|
||||
#[bpaf(short('b'), long)]
|
||||
no_native_titlebar: bool,
|
||||
|
||||
///
|
||||
/// Enable to turn off incremental layout.
|
||||
#[bpaf(short('i'), long, flag(false, true))]
|
||||
nonincremental_layout: bool,
|
||||
|
||||
/// Path to an output image. The format of the image is determined by the extension.
|
||||
/// Supports all formats that `rust-image` does.
|
||||
#[bpaf(short('o'), argument("test.png"), long)]
|
||||
@@ -722,7 +717,6 @@ fn parse_arguments_helper(args_without_binary: Args) -> ArgumentParsingResult {
|
||||
time_profiler_trace_path: cmd_args
|
||||
.profiler_trace_path
|
||||
.map(|p| p.to_string_lossy().into_owned()),
|
||||
nonincremental_layout: cmd_args.nonincremental_layout,
|
||||
hard_fail: cmd_args.hard_fail,
|
||||
multiprocess: cmd_args.multiprocess,
|
||||
background_hang_monitor: cmd_args.background_hang_monitor,
|
||||
|
||||
Reference in New Issue
Block a user