Simon Sapin

Results 118 issues of Simon Sapin

Fixes https://github.com/ava1ar/customizepkg/issues/24. Patch by @bartoszek, given in that issue.

In https://github.com/servo/mozjs/pull/246 I tried to fix this and it seemed ok when building from this repository. But somehow building in Servo even after https://github.com/servo/servo/pull/26294 still has this bug: ```rust $...

A central idea behind this crate is that most resources in Rust have one well-defined owner. `heap_size_of_children` can trace recursively and only consider owned resources. For `&T` references it can...

Steps to reproduce: - I work on https://github.com/servo/servo/pull/12943, make a few commits. There is more to do before reviewing/merging, but at that point I want to make sure my refactoring...

@nox pointed out (https://github.com/servo/rust-cssparser/pull/112#issuecomment-286152329) that https://github.com/rust-lang/rust/pull/39456 brings the same performance to plain `match` expressions.

In #165, this input `3E833` is parsed as a `Token::Number` whose value is `std::f32::INFINITY`, which serializes as `inf`. We should definitely not serialize any number as `inf` (maybe an arbitrary...

This is pretty much the same as https://github.com/w3c/csswg-drafts/issues/1325. https://drafts.css-houdini.org/css-properties-values-api/#register-a-custom-property > Attempt to parse name as a ``. This suggests using a CSS parser to parse the contents of a JS...

css-properties-values-api-1
Needs Edits

With `thumbv6m_none_eabi` and similar targets, the `libc` crate does not compile because `c_char`, `c_long`, `c_ulong`, and `wchar_t` are not defined. This is issue https://github.com/rust-lang/libc/issues/375. We should fix this and add...

Thank you for making this, I like it! A minor downside is that I see some noticeable lag at each keystroke when typing, especially if my CPU cores are busy...

Currently tinycss just drops tokens for invalid declarations or rules. This is fine for an UA like WeasyPrint, but not for a minifier: what is invalid now may become valid...