New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
style: Sync changes from mozilla-central. #22111
Commits on Nov 5, 2018
-
style: Remove unused style constant.
Also remove specified-value-only keywords, since those are handled only in Rust code and C++ doesn't need to know about them. Differential Revision: https://phabricator.services.mozilla.com/D9634
emilio committedNov 5, 2018 Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Don't allow auto in grid line names.
See w3c/csswg-drafts#2856. Differential Revision: https://phabricator.services.mozilla.com/D9882
emilio committedNov 5, 2018 Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Add a fast path for querySelector{,All} when we have classes o…
…r tags in the rightmost compound. Before this patch we were only optimizing the case of a single selector, which is fine, but not enough to catch ones like .foo .bar or so. This patch allows us to optimize classes and tags in the rightmost compound, while keeping the current optimization for #id selectors. Need to profile this, but code-wise should be ready for review. Differential Revision: https://phabricator.services.mozilla.com/D9351
emilio committedNov 5, 2018 Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Ignore border-image-source when overriding document colors.
Differential Revision: https://phabricator.services.mozilla.com/D10017
Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Support ::before / ::after on ::slotted pseudos.
See w3c/csswg-drafts#3150 for the issue that would expand this to all pseudos. Differential Revision: https://phabricator.services.mozilla.com/D9994
emilio committedNov 5, 2018 Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Update cbindgen due to breaking change.
eqrion/cbindgen#233 changed the way one of the options we use work. I think the new behavior is better, but we should do this sooner rather than later, and fix broken builds. Differential Revision: https://phabricator.services.mozilla.com/D10301
emilio committedNov 5, 2018 Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Interpolate the angle between mis-matched rotate() functions w…
…hen the angle of one is zero. Bug: 1501176 Reviewed-by: hiro
Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Add a special list for cbindgen types to avoid generating redu…
…ndant rust types. We will blacklist this type and add a module raw line to map the gecko type to its rust type (as an alias). Differential Revision: https://phabricator.services.mozilla.com/D10303
Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Use alias for StyleAppearance.
So we could avoid generating it in rust-bindgen and drop transmute. Differential Revision: https://phabricator.services.mozilla.com/D10304
Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Use alias for StyleDisplay and StyleDisplayMode.
Map these two types to their original rust type in rust-bindgen. Differential Revision: https://phabricator.services.mozilla.com/D10141
Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Use alias for StyleFillRule.
This needs to update the "fill-rule" and "clip-rule" to use predefined_type to avoid some compilation errors. Differential Revision: https://phabricator.services.mozilla.com/D10142
Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Use alias for StylePathCommand.
So we could drop transmute in svg_path related functions. Differential Revision: https://phabricator.services.mozilla.com/D10140
Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Drop "mozilla" prefix in cbindgen_types in ServoBindings.toml.
A minor update to drop the redundant "mozilla" namespace prefix in `cbindgen_types` array. Depends on D10305 Differential Revision: https://phabricator.services.mozilla.com/D10325
Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Handle reversed ranges in @font-face descriptors.
Differential Revision: https://phabricator.services.mozilla.com/D10327
Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Support unprefixed image-rendering: crisp-edges.
For now, we keep supporting the prefixed version, since there are examples/instructions on the Web that don't include an unprefixed value. Differential Revision: https://phabricator.services.mozilla.com/D10451
Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Fix inconsistent CRISPEDGES constant name.
Differential Revision: https://phabricator.services.mozilla.com/D10452
Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Use references in the shapes code.
It doesn't make much sense to return const UniquePtr<Foo>& for something that can't be null, it's just confusing. Also make more stuff actually const. Differential Revision: https://phabricator.services.mozilla.com/D10647
emilio committedNov 5, 2018 Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Don't match document author rules if not needed for revalidation.
When you're in a ShadowRoot and can share style with a sibling, the sharing code is smart enough to skip document author rules. But then it could get confused if you also include document rules, since revalidation selectors are matched against these. This is not a correctness issue, because we're matching more than what we need, and avoid sharing if we failed. Also fix the detection for user rules in any_applicable_rule_data. Differential Revision: https://phabricator.services.mozilla.com/D10117
emilio committedNov 5, 2018 Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Don't keep a separate list of ignored-when-colors-disabled lon…
…ghands. Most of the change is moving sets around to be static functions on LonghandIdSet. I think I like that pattern, but I can also make the new set a global static and add mako code to be `pub` or something. Though I think the LonghandIdSet::foo().contains(..) pattern is nice to read :) Differential Revision: https://phabricator.services.mozilla.com/D10653
emilio committedNov 5, 2018 Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Move shorthand IDL order stuff out of animated_properties.
Doesn't really need to be in a mako file. Differential Revision: https://phabricator.services.mozilla.com/D10839
emilio committedNov 5, 2018 Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Move the keyframes property priority stuff outside of animated…
…_properties. Similarly, no need to be here. Differential Revision: https://phabricator.services.mozilla.com/D10840
emilio committedNov 5, 2018 Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Move various length animation implementations to its own file.
It's nicer, I think. Differential Revision: https://phabricator.services.mozilla.com/D10841
emilio committedNov 5, 2018 Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Move various font-related animation code to its own file.
Similarly, the code is not trivial and doesn't really need to be in mako. Differential Revision: https://phabricator.services.mozilla.com/D10842
emilio committedNov 5, 2018 Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Remove nscsspropertyid_is_{animatable,transitionable}.
There are better ways, plus the existing code didn't handle aliases at all (not that it needed to, but it's better if it does). Differential Revision: https://phabricator.services.mozilla.com/D10838
emilio committedNov 5, 2018 Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Move animation of svg-related bits outside of animated_propert…
…ies. Being in mako is unnecessary, and makes it harder to debug and such. Differential Revision: https://phabricator.services.mozilla.com/D10843
emilio committedNov 5, 2018 Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Simplify the SVG animation code.
It's overly generic for no good reason. Differential Revision: https://phabricator.services.mozilla.com/D10844
emilio committedNov 5, 2018 Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Implement the env() function with hardcoded zeros for safe-are…
…a-inset. Intent to Implement and Ship: https://groups.google.com/d/msg/mozilla.dev.platform/EVKyR1B87T0/_l-_qK8SAAAJ Differential Revision: https://phabricator.services.mozilla.com/D9609
emilio committedNov 5, 2018 Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
style: Simplify invalid custom property handling.
It's a bit useless to keep a set of invalid properties if we're going to use them just to reject lookups into another key. This makes it more consistent with the cascade / no-references code, and should not change behavior. Differential Revision: https://phabricator.services.mozilla.com/D9632
emilio committedNov 5, 2018 Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
Update remaining references to cssparser 0.24.
emilio committedNov 5, 2018 Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits -
Unverified
This user has not uploaded their public key yet.GPG key ID: 056B727BB9C1027C Learn about signing commits