mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Add low-level bindings to Hubbub
This commit is contained in:
parent
754deea2d9
commit
033bbbf7a0
6 changed files with 16 additions and 1 deletions
1
src/rust-hubbub
Submodule
1
src/rust-hubbub
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 599b086aa5219e6d5306939fc306a1ee300f21e5
|
|
@ -1 +1 @@
|
|||
Subproject commit c1a3cd94ee7ea21d27b9a90d1576417dc3d8edbf
|
||||
Subproject commit 4fc86aceb448ebb9658664e60e8ffdb1d5e3c989
|
|
@ -128,9 +128,13 @@ struct Content<C:Compositor> {
|
|||
let stream = spawn_html_lexer_task(copy url, self.resource_task);
|
||||
let (root, style_port, js_port) = build_dom(self.scope, stream, url,
|
||||
self.resource_task);
|
||||
|
||||
let css_rules = style_port.recv();
|
||||
let js_scripts = js_port.recv();
|
||||
|
||||
let css_rules = ~[];
|
||||
let js_scripts = ~[];
|
||||
|
||||
// Apply the css rules to the dom tree:
|
||||
#debug["css_rules: %?", css_rules];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue