Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3.4k
How to feed servo with a HTML tree in place of a URL ?#38228
-
I need to render something I can convert to HTML language, but I want to avoid using file system and keep it all in memory. |
BetaWas this translation helpful?Give feedback.
All reactions
And if you don't want to pay the price of base64 encoding with a data: url, you can implement your own protocol handler and hook it up to your HTML string.
Replies: 2 comments 1 reply
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
I don't believe there is currently a specific API to support this. One option is to load a |
BetaWas this translation helpful?Give feedback.
All reactions
-
And if you don't want to pay the price of base64 encoding with a data: url, you can implement your own protocol handler and hook it up to your HTML string. |
BetaWas this translation helpful?Give feedback.
All reactions
-
https://doc.servo.org/net/protocols/struct.ProtocolRegistry.html |
BetaWas this translation helpful?Give feedback.