Emilio Cobos Álvarez

Results 779 comments of Emilio Cobos Álvarez

@calebcartwright / @ytmimi, any chance of getting this merged? I don't see any relevant issue in the tracker about this option after a quick scan, and this makes Servo and...

(Plus we've been using this option for ~ever, without any issue)

Making CSS determine what JS function is going to execute is a big no-go IMO. You don't want to force style recalculation every time you need to read that `process`...

They do not get cloned in Gecko (except for printing as a special case). A new shadow root is attached when the clone gets inserted into the document.

Yeah, I don't mind either way, I'm just saying that that's not the built-in shadow tree behavior at least in Gecko. Might be worth checking with @justinfagnani about the ergonomics...

I think the special-case is just [here](https://searchfox.org/mozilla-central/rev/12ea2c521cdd071a6d25b0894f31f8f23b18b76a/layout/style/res/ua.css#406-410)

Sorry for the lag replying to this. You're using with_cpp_compat(true) which generates C++-compatible code, is that not what's going on?

> Luckily, there exists something else we can use! Enter https://github.com/rust-lang/rust/issues/76578 (documentation for the format [here](https://doc.rust-lang.org/nightly/nightly-rustc/rustdoc_json_types/), can be access conveniently via. the [rustdoc-types](https://docs.rs/rustdoc-types/latest/rustdoc_types/) crate). This fully describes a crate's public...