diff --git a/Cargo.lock b/Cargo.lock index 6f76422..d54ece9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -62,6 +62,7 @@ version = "0.1.0" dependencies = [ "we-css", "we-dom", + "we-html", "we-style", "we-text", ] @@ -84,9 +85,11 @@ version = "0.1.0" dependencies = [ "we-css", "we-dom", + "we-html", "we-image", "we-layout", "we-platform", + "we-style", "we-text", ] diff --git a/crates/browser/src/main.rs b/crates/browser/src/main.rs index 018b972..a087c2e 100644 --- a/crates/browser/src/main.rs +++ b/crates/browser/src/main.rs @@ -54,10 +54,13 @@ fn render_page(html: &str, font: &Font, bitmap: &mut BitmapContext) { // Extract CSS from + +
+First
+Second
+ +