-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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. #21036
Commits on Jun 12, 2018
-
style: Make contain:paint trigger clipping independent of the overflo…
…w property. Bug: 1465250 Reviewed-by: mattwoodrow MozReview-Commit-ID: 2QbfZD1jnWX
Configuration menu - View commit details
-
Copy full SHA for ea5417b - Browse repository at this point
Copy the full SHA ea5417bView commit details -
style: Remove invalid assertion.
We can look at stale styles while trying to figure out if we need any invalidation, and that's ok. Bug: 1449243 MozReview-Commit-ID: 4mBIFNm9qJv
Configuration menu - View commit details
-
Copy full SHA for 35a1a30 - Browse repository at this point
Copy the full SHA 35a1a30View commit details -
style: Make the transition-property code make more sense.
We were working around the lack of alias support during parsing in TransitionProperty by doing a Gecko lookup. That's a hack and is now gone. Bug: 1419695 Reviewed-by: xidorn MozReview-Commit-ID: EptUvJNTrZr
Configuration menu - View commit details
-
Copy full SHA for 6940787 - Browse repository at this point
Copy the full SHA 6940787View commit details -
style: Hide multiple -moz-window-* properties from content.
Bug: 1419695 Reviewed-by: xidorn MozReview-Commit-ID: Jsqt3kqjPiq
Configuration menu - View commit details
-
Copy full SHA for f6f421f - Browse repository at this point
Copy the full SHA f6f421fView commit details -
style: Move TransitionProperty where it belongs.
Bug: 1419695 Reviewed-by: xidorn MozReview-Commit-ID: 9PN6VfbDbLA
Configuration menu - View commit details
-
Copy full SHA for 90ef560 - Browse repository at this point
Copy the full SHA 90ef560View commit details -
style: Use custom_properties::Name in TransitionProperty.
Bug: 1419695 Reviewed-by: xidorn MozReview-Commit-ID: BUSWrcA5hkw
Configuration menu - View commit details
-
Copy full SHA for ce5a85d - Browse repository at this point
Copy the full SHA ce5a85dView commit details -
style: Introduce css(parse_condition).
This will allow us to add a pref for this, and to parse it only on chrome easily. Bug: 1288572 Reviewed-by: xidorn MozReview-Commit-ID: L1rsyc2A2hu
Configuration menu - View commit details
-
Copy full SHA for 1da798e - Browse repository at this point
Copy the full SHA 1da798eView commit details -
style: Hide -moz- display values from content behind a pref.
Bug: 1288572 Reviewed-by: xidorn MozReview-Commit-ID: HDQPub043H1
Configuration menu - View commit details
-
Copy full SHA for cf7b10a - Browse repository at this point
Copy the full SHA cf7b10aView commit details -
style: Don't hide -moz-box / -moz-inline-box yet.
I'd really prefer to not land this patch, but... Bug: 1288572 Reviewed-by: mats MozReview-Commit-ID: HzmvhTd32gz
Configuration menu - View commit details
-
Copy full SHA for 618eef7 - Browse repository at this point
Copy the full SHA 618eef7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f1b793 - Browse repository at this point
Copy the full SHA 0f1b793View commit details -
style: Update smallbitvec to v2.1.1.
Actual code changes reviewed upstream in: servo/smallbitvec#12 Bug: 1466647 MozReview-Commit-ID: 3vKVPMovBj
Configuration menu - View commit details
-
Copy full SHA for 4b10b2a - Browse repository at this point
Copy the full SHA 4b10b2aView commit details -
style: Sprinkle some inline in methods that are just pointer-chasing …
…or function calls. MozReview-Commit-ID: 8G2NQPBVuXn
Configuration menu - View commit details
-
Copy full SHA for 2baa794 - Browse repository at this point
Copy the full SHA 2baa794View commit details -
style: Sprinkle some #[inline] on methods that have inline fast-paths.
MozReview-Commit-ID: 5kOmctLTAX0
Configuration menu - View commit details
-
Copy full SHA for 710184b - Browse repository at this point
Copy the full SHA 710184bView commit details -
style: Don't look at the rule type from value parsing.
This would cause properties to change the value semantics between, e.g., @Keyframes and non-@Keyframes, which would be observable. It happens not to be observable since the animation-* and transition-* properties are not allowed in @Keyframes, nor have bits in `contain`, and none of the two properties are allowed in @page. But I think it's the right thing to do. This still causes a quirk like a property value in chrome / user origins being potentially different if the value is specified via CSS var functions. But I think that is fine. Bug: 1466136 Reviewed-by: hiro MozReview-Commit-ID: GhoPt0I34oO
Configuration menu - View commit details
-
Copy full SHA for f829300 - Browse repository at this point
Copy the full SHA f829300View commit details -
style: Work around a bindgen bug on Android.
Bug: 1466406 Reviewed-by: xidorn MozReview-Commit-ID: 2lltjH7IoZu
Configuration menu - View commit details
-
Copy full SHA for 8d069d1 - Browse repository at this point
Copy the full SHA 8d069d1View commit details -
style: Make pseudo-elements work with :host.
Imported WebKit's test as a WPT. Bug: 1465291 Reviewed-by: xidorn MozReview-Commit-ID: 19ZThuoqKLW
Configuration menu - View commit details
-
Copy full SHA for 8821ad7 - Browse repository at this point
Copy the full SHA 8821ad7View commit details -
style: Move some parsing-only attributes to use #[parse(..)] instead …
…of #[css(..)]. I need to admit I'm ambivalent about this one :). Bug: 1466609 Reviewed-by: xidorn MozReview-Commit-ID: F1jlfnQKXwo
Configuration menu - View commit details
-
Copy full SHA for 2c0a19e - Browse repository at this point
Copy the full SHA 2c0a19eView commit details -
style: Make the threadsafe refcounting macros more reusable.
Bug: 1466609 Reviewed-by: xidorn MozReview-Commit-ID: IanxqRksGqE
Configuration menu - View commit details
-
Copy full SHA for d461a7d - Browse repository at this point
Copy the full SHA d461a7dView commit details -
style: Make clearing atoms slightly more ergonomic.
I prefer to do it this way because Atom has inline paths for static atoms and such. Bug: 1466609 Reviewed-by: xidorn MozReview-Commit-ID: CFsBHl80KDY
Configuration menu - View commit details
-
Copy full SHA for 63ca2a8 - Browse repository at this point
Copy the full SHA 63ca2a8View commit details -
style: Avoid useless allocations in custom property name serialization.
And make transition-property more correct by serializing --0 unescaped instead of escaped. Bug: 1466645 Reviewed-by: xidorn MozReview-Commit-ID: CCBSe5Frd0d
Configuration menu - View commit details
-
Copy full SHA for c6e43c0 - Browse repository at this point
Copy the full SHA c6e43c0View commit details -
style: Make getting a property name explicitly an indexing operation.
The six milliseconds spent in Olli's profile make me thing this is not getting optimized and we expected. Also move it to NonCustomPropertyId, so it works for aliases properly too. Bug: 1466645 Reviewed-by: xidorn MozReview-Commit-ID: 4d76Z55ZBEH
Configuration menu - View commit details
-
Copy full SHA for 7529788 - Browse repository at this point
Copy the full SHA 7529788View commit details -
style: Remove PropertyId::name.
It's only used for the error path in property parsing, so most of the time is not useful. Use the just-introduced NonCustomPropertyId::name to preserve the alias name, which we were doing by passing the name around. Bug: 1466645 Reviewed-by: xidorn MozReview-Commit-ID: 46xxZKCoeBB
Configuration menu - View commit details
-
Copy full SHA for 915c872 - Browse repository at this point
Copy the full SHA 915c872View commit details -
style: Use Atomic<bool> for the staticpref version of layout.css.font…
…-variations.enabled. Atomic<bool> is implemented in terms of AtomicBase<uint32_t>, because that way you don't need to depend on atomic 1-byte operations. That means that the rust bindgen sees it as a u32, not a bool. It's a bit concerning that the rust code seems to be doing an unsynchronized read here, but given this is a RelaxedAtomic, that's probably ok. Bug: 1467134 Reviewed-by: emilio
Configuration menu - View commit details
-
Copy full SHA for 3816143 - Browse repository at this point
Copy the full SHA 3816143View commit details -
style: Extend StyleComplexColor to support additive blending.
Refactored StyleComplexColor to support "complex" blending between background (numeric) color and foreground color (currentColor). Made explicit the distinction between numeric, currentColor and a complex blend in Gecko and Stylo. This is to support SMIL animation, for example, of the form: <animate from="rgb(10,20,30)" by="currentColor" ... /> Bug: 1465307 Reviewed-by: hiro,xidorn MozReview-Commit-ID: IUAK8P07gtm
Configuration menu - View commit details
-
Copy full SHA for 255fe05 - Browse repository at this point
Copy the full SHA 255fe05View commit details -
style: Inline some trivial bits.
Bug: 1466963 Reviewed-by: xidorn MozReview-Commit-ID: A219QehiMqZ
Configuration menu - View commit details
-
Copy full SHA for 9c51d31 - Browse repository at this point
Copy the full SHA 9c51d31View commit details -
Nobody looks at the result from parsing, but this is the right thing to return. Bug: 1466963 Reviewed-by: xidorn MozReview-Commit-ID: 9P5VARiPIAk
Configuration menu - View commit details
-
Copy full SHA for e052666 - Browse repository at this point
Copy the full SHA e052666View commit details -
style: Remove unused PropertyDeclarationBlock::set_importance.
Bug: 1466963 Reviewed-by: xidorn MozReview-Commit-ID: 1YrlOvktag9
Configuration menu - View commit details
-
Copy full SHA for 6ca324f - Browse repository at this point
Copy the full SHA 6ca324fView commit details -
style: Add a before-change callback to remove_property.
Bug: 1466963 Reviewed-by: xidorn MozReview-Commit-ID: 4vyN9iLT7e3
Configuration menu - View commit details
-
Copy full SHA for 3c7fb2a - Browse repository at this point
Copy the full SHA 3c7fb2aView commit details -
style: Trivially simplify a condition.
Bug: 1466963 Reviewed-by: xidorn MozReview-Commit-ID: L9LzpPt4js4
Configuration menu - View commit details
-
Copy full SHA for cdbc409 - Browse repository at this point
Copy the full SHA cdbc409View commit details -
style: Fix nsStyleBorder::mBorderColor for GCC.
GCC doesn't like StyleComplexColor with constructor in an anonymous struct in an anonymous union. Replace the use of a union to access `mBorder[..]Color` fields as an array with an accessor methods. Bug: 1465307 Reviewed-by: xidorn MozReview-Commit-ID: 1Wulh1qKYCZ
Configuration menu - View commit details
-
Copy full SHA for 314b14d - Browse repository at this point
Copy the full SHA 314b14dView commit details -
style: Extract {animated,computed}::Color common parts.
Extract the common parts of `animated::Color` and `computed::Color` out into `generics::color::Color<T>` that is generic over the type of RGBA color. Bug: 1465307 Reviewed-by: xidorn MozReview-Commit-ID: EymSr7aqnAP
Configuration menu - View commit details
-
Copy full SHA for 5f74a15 - Browse repository at this point
Copy the full SHA 5f74a15View commit details -
style: Add a Servo API to get the serialized style of a property.
This is intended to be used by GetComputedStyle when there's no layout dependency. Bug: 1467536 Reviewed-by: xidorn MozReview-Commit-ID: 3GAbjo1uQ34
Configuration menu - View commit details
-
Copy full SHA for 011cad2 - Browse repository at this point
Copy the full SHA 011cad2View commit details -
style: Add CssPropFlags::SerializedByServo and use it on some simple …
…properties. The idea is to turn the simple properties into a blacklist instead really soon, and fix the offending ones soon after, so that only shorthands and properties with layout dependence (and maybe the scrollbar properties, because the poke at LookAndFeel) are not serialized by Servo. Bug: 1467536 Reviewed-by: xidorn MozReview-Commit-ID: JTLNnmXzny8
Configuration menu - View commit details
-
Copy full SHA for d65b29d - Browse repository at this point
Copy the full SHA d65b29dView commit details -
Bug: 1416282 Reviewed-by: xidorn MozReview-Commit-ID: GTnFyZnXR84
Configuration menu - View commit details
-
Copy full SHA for 572a931 - Browse repository at this point
Copy the full SHA 572a931View commit details -
Configuration menu - View commit details
-
Copy full SHA for 078df23 - Browse repository at this point
Copy the full SHA 078df23View commit details -
Configuration menu - View commit details
-
Copy full SHA for e94395b - Browse repository at this point
Copy the full SHA e94395bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab76003 - Browse repository at this point
Copy the full SHA ab76003View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cd16ee - Browse repository at this point
Copy the full SHA 4cd16eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d0b0e0 - Browse repository at this point
Copy the full SHA 0d0b0e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2106cc4 - Browse repository at this point
Copy the full SHA 2106cc4View commit details