Martin Robinson

Results 446 comments of Martin Robinson

You should be able to match psuedo-element selectors in user agent stylesheets without any changes AFAIU. Different kinds of pseudo-elements have different cascade types, but they all are styleable. Have...

I think it might make more sense to switch Servo to use [btleplug](https://crates.io/crates/btleplug) (or a similar crate) or perhaps remove the Bluetooth feature entirely since it's unmaintained.

I think the approach that we do with the clipboard makes sense: provide a default implementation that works very well and then also letting the embedder implement it as well.

I'm not sure that it makes sense to package servoshell or to allow much customization of where resources are loaded from. servoshell isn't meant to be an applications consumed by...

For reference here is how this is implemented in WebKitGTK: https://webkitgtk.org/reference/webkitgtk/stable/method.UserContentManager.register_script_message_handler.html Notes: - Scripts can be executed in WebKit in "worlds." Each world is an [isolated context](https://wicg.github.io/isolated-web-apps/isolated-contexts.html). Every isolated context...

@jdm FWIW, I don't think we should modify the API now to match what WebKit is doing since we don't have support for what WebKit calls "worlds" yet. I was...

resvg seems to reimplement many things that Servo already does. I wonder if we can simply start the implementation of basic SVG support using Servo's text rendering engine and xml5ever.

> > (does anyone know what Firefox uses for vector rendering?) > > I'm pretty sure the answer is the Moz2D library: https://searchfox.org/mozilla-central/source/gfx/docs/Moz2D.rst, previously vendored in https://github.com/servo/rust-azure. And I'm fairly...

> We _could_ do our own SVG support. But the SVG spec is huge: resvg is 20k LoC (_not_ including dependencies like the XML parser or the vector renderer). Properly...

Looks like this is happening on CI on the macOS platform?