mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
compositing: In borderless mode, don't show the window until the page
has loaded. This avoids a flash of unstyled content, which looks especially bad in browser.html since unstyled content is white and browser.html has a transparent background. Closes #9996.
This commit is contained in:
parent
1a60e07ee8
commit
c2581d5cef
7 changed files with 23 additions and 13 deletions
|
@ -125,7 +125,7 @@ pub trait WindowMethods {
|
|||
/// Called when the browser has started loading a frame.
|
||||
fn load_start(&self, back: bool, forward: bool);
|
||||
/// Called when the browser is done loading a frame.
|
||||
fn load_end(&self, back: bool, forward: bool);
|
||||
fn load_end(&self, back: bool, forward: bool, root: bool);
|
||||
/// Called when the browser encounters an error while loading a URL
|
||||
fn load_error(&self, code: NetError, url: String);
|
||||
/// Called when the <head> tag has finished parsing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue