mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
fonts: Remove synchronous web font loading functionality (#35000)
Synchronous web font loading is not specification compliant and was added in #8341 to work around issues that do not exist any longer. This change removes the functionality and ensures that WPT tests are run with the spec compliant loader. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
5140ce81f0
commit
28c9ceedf6
6 changed files with 4 additions and 49 deletions
|
@ -177,9 +177,6 @@ pub struct DebugOptions {
|
|||
/// Log GC passes and their durations.
|
||||
pub gc_profile: bool,
|
||||
|
||||
/// Load web fonts synchronously to avoid non-deterministic network-driven reflows.
|
||||
pub load_webfonts_synchronously: bool,
|
||||
|
||||
/// Show webrender profiling stats on screen.
|
||||
pub webrender_stats: bool,
|
||||
|
||||
|
@ -209,7 +206,6 @@ impl DebugOptions {
|
|||
"dump-rule-tree" => self.dump_rule_tree = true,
|
||||
"dump-style-tree" => self.dump_style_tree = true,
|
||||
"gc-profile" => self.gc_profile = true,
|
||||
"load-webfonts-synchronously" => self.load_webfonts_synchronously = true,
|
||||
"precache-shaders" => self.precache_shaders = true,
|
||||
"profile-script-events" => self.profile_script_events = true,
|
||||
"relayout-event" => self.relayout_event = true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue