mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01:00
Remove legacy layout (layout 2013) (#35943)
We were already not compiling it and not running tests on it by default. So it's simpler to just completely remove it. Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
f93006af95
commit
7594dc6991
17224 changed files with 23 additions and 1584835 deletions
|
@ -20,9 +20,6 @@ pub struct Opts {
|
|||
/// after they have loaded.
|
||||
pub wait_for_stable_image: bool,
|
||||
|
||||
/// Whether or not the legacy layout system is enabled.
|
||||
pub legacy_layout: bool,
|
||||
|
||||
/// `None` to disable the time profiler or `Some` to enable it with:
|
||||
///
|
||||
/// - an interval in seconds to cause it to produce output on that interval.
|
||||
|
@ -191,7 +188,6 @@ impl Default for Opts {
|
|||
fn default() -> Self {
|
||||
Self {
|
||||
wait_for_stable_image: false,
|
||||
legacy_layout: false,
|
||||
time_profiling: None,
|
||||
time_profiler_trace_path: None,
|
||||
nonincremental_layout: false,
|
||||
|
|
|
@ -23,7 +23,6 @@ pub fn set(preferences: Preferences) {
|
|||
// DOM CSS style accessors.
|
||||
stylo_config::set_bool("layout.unimplemented", preferences.layout_unimplemented);
|
||||
stylo_config::set_i32("layout.threads", preferences.layout_threads as i32);
|
||||
stylo_config::set_bool("layout.legacy_layout", preferences.layout_legacy_layout);
|
||||
stylo_config::set_bool("layout.flexbox.enabled", preferences.layout_flexbox_enabled);
|
||||
stylo_config::set_bool("layout.columns.enabled", preferences.layout_columns_enabled);
|
||||
stylo_config::set_bool("layout.grid.enabled", preferences.layout_grid_enabled);
|
||||
|
@ -197,7 +196,6 @@ pub struct Preferences {
|
|||
pub layout_container_queries_enabled: bool,
|
||||
pub layout_css_transition_behavior_enabled: bool,
|
||||
pub layout_flexbox_enabled: bool,
|
||||
pub layout_legacy_layout: bool,
|
||||
pub layout_threads: i64,
|
||||
pub layout_unimplemented: bool,
|
||||
pub layout_writing_mode_enabled: bool,
|
||||
|
@ -363,7 +361,6 @@ impl Preferences {
|
|||
layout_css_transition_behavior_enabled: true,
|
||||
layout_flexbox_enabled: true,
|
||||
layout_grid_enabled: false,
|
||||
layout_legacy_layout: false,
|
||||
// TODO(mrobinson): This should likely be based on the number of processors.
|
||||
layout_threads: 3,
|
||||
layout_unimplemented: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue