aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/gecko/rules.rs
Commit message (Collapse)AuthorAgeFilesLines
* style: Remove nsCSSValue bindings.Emilio Cobos Álvarez2019-05-291-135/+0
| | | | | | Depends on D31320 Differential Revision: https://phabricator.services.mozilla.com/D31321
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* `cargo fix --edition --features gecko`Simon Sapin2018-11-101-5/+5
|
* style: Remove some more leftover code.Emilio Cobos Álvarez2018-10-091-38/+0
| | | | Differential Revision: https://phabricator.services.mozilla.com/D7755
* style: Remove nsCSSValue usage from font code.Emilio Cobos Álvarez2018-10-091-155/+1
| | | | | | Really sorry for the size of the patch. Differential Revision: https://phabricator.services.mozilla.com/D7753
* Format style component.chansuke2018-09-091-3/+3
|
* style: Make tidy happy.Emilio Cobos Álvarez2018-04-281-1/+1
|
* style: Use user defined types for font-stretch / font-style.Jonathan Watt2018-04-281-14/+7
| | | | | | | Co-authored-by: Emilio Cobos Álvarez <emilio@crisal.io> Bug: 1436048 Reviewed-by: jfkthame,jwatt MozReview-Commit-ID: 7ONYtICeAqb
* style: Use a generic type in preparation to fix animation.Emilio Cobos Álvarez2018-04-281-1/+1
| | | | | | | | Apart from a bit more code reuse. Bug: 1455358 Reviewed-by: xidorn MozReview-Commit-ID: 2BNOK6v30lX
* style: Update font-style to css-fonts-4.Emilio Cobos Álvarez2018-04-281-30/+20
| | | | | | Bug: 1455358 Reviewed-by: xidorn MozReview-Commit-ID: 1Nq5DyCjaZe
* style: Update font-stretch to css-fonts-4.Emilio Cobos Álvarez2018-04-281-35/+47
| | | | | | | | | These won't "just work", pending changes from bug 1436048 to use a floating point representation for those. Bug: 1454883 Reviewed-by: xidorn MozReview-Commit-ID: Bi5iTdFreMA
* style: Fixups for css-fonts-4 font-weight.Emilio Cobos Álvarez2018-04-281-1/+1
|
* style: Update font-weight property and descriptor to css-fonts-4.Emilio Cobos Álvarez2018-04-281-13/+26
| | | | | | Bug: 1454596 Reviewed-by: xidorn MozReview-Commit-ID: 27aS2UrgXjs
* style: Use a user defined type for font weight everywhere.Jonathan Watt2018-04-141-2/+2
| | | | | Bug: 1436048 Reviewed-by: emilio
* Run rustfmt on selectors, servo_arc, and style.Bobby Holley2018-04-101-18/+27
| | | | | | | | | | This was generated with: ./mach cargo fmt --package selectors && ./mach cargo fmt --package servo_arc && ./mach cargo fmt --package style Using rustfmt 0.4.1-nightly (a4462d1 2018-03-26)
* Stop using NS_STYLE_FONT_WEIGHT_NORMAL and NS_STYLE_FONT_WEIGHT_BOLDJonathan Watt2018-04-061-2/+2
| | | | | The Servo side of the changes for https://bugzilla.mozilla.org/show_bug.cgi?id=1452040
* Use Servo data to back @counter-style rule.Xidorn Quan2018-04-051-73/+27
|
* Use Servo data to back @font-face rule in Gecko.Xidorn Quan2018-04-041-58/+21
|
* refactor(counter_style): parse int via parse_non_negativeOJ Kwon2018-03-211-3/+3
|
* CounterBound::Integer made to store an IntegerNupur Baghel2018-03-191-1/+1
|
* Introduce enum CounterBound for the bounds in counter_style::RangesAnthony Ramine2018-03-051-3/+3
|
* style: Make 'font' shorthand reset the 'font-variation-settings' property.Jonathan Kew2018-03-041-2/+2
| | | | | | | | | As required by the spec: https://drafts.csswg.org/css-fonts-4/#font-prop See https://bugzilla.mozilla.org/show_bug.cgi?id=1435983 Basically, make font-variation-settings work in the same way as font-feature-settings already does.
* Use CustomIdent in Symbol::IdentAnthony Ramine2018-03-031-1/+1
| | | | The former code was not following the spec.
* Move FontTag to the generic moduleAnthony Ramine2018-02-151-1/+2
|
* Integrate font-variation-settings descriptor with styloXidorn Quan2018-02-141-7/+24
|
* style: Refactor font-feature-settings and font-variation-settings.Emilio Cobos Álvarez2018-02-011-18/+18
| | | | | | | | | | This fixes all known issues with serialization and parsing of these two properties, and in particular calc handling and such: https://bugzilla.mozilla.org/show_bug.cgi?id=1434692 https://bugzilla.mozilla.org/show_bug.cgi?id=1434724 Also does a fair amount of cleanup and all that, which was needed.
* style: Move a bunch of font stuff living under generics to the proper module.Emilio Cobos Álvarez2018-02-011-1/+1
| | | | | | FontSettingsTagInt and such shouldn't be in the generic module, I know... But that will change in a bit.
* style: Remove the stupid space serialization on font-settings.Emilio Cobos Álvarez2018-02-011-1/+1
|
* Avoid the generic writer parameter for PropertyDeclaration serialization.Bobby Holley2018-01-221-5/+5
| | | | MozReview-Commit-ID: JR3IcL1NRHO
* style: Make all keywords CamelCase for consistency.Emilio Cobos Álvarez2017-12-061-12/+12
| | | | This prevents confusion and paves the ground for derive(Parse) of them.
* style: Move font-family outside of makoCYBAI2017-11-261-1/+1
|
* Remove nsTFixedString<T>.Nicholas Nethercote2017-10-041-2/+3
| | | | | | | | | | | | | | nsTFixedString<T> is only used as a base class for nsTAutoStringN<T, N>, so this patch merges the former into the latter, cutting some code and simplifying the string class hierarchy. Because the "Fixed" name is now gone, the patch also renames StringDataFlags::FIXED as INLINE and ClassDataFlags::FIXED as INLINE. The patch also removes nsFixed[C]String and ns_auto_[c]string! from Rust code because nsAutoString can't be implemented directly in Rust due to its move semantics. There were only two uses of ns_auto_string! outside of tests so this seems like a minor loss.
* Use integer for specified and computed font-weightXidorn Quan2017-07-061-2/+2
|
* stylo: Implement font-language-override descriptor for @font-face ruleNazım Can Altınova2017-06-251-0/+12
|
* stylo: make font-weight descriptor in @font-face preserve keyword valuesFernando Jiménez Moreno2017-06-201-1/+13
|
* Define Gecko CounterStyle and FontFaceRule clone functions.Brad Werth2017-06-081-0/+24
|
* stylo: Support font-variation-settingsManish Goregaokar2017-05-271-3/+4
|
* stylo: Bug 1355345 - Support font-display descriptor in @font-face ruleFernando Jiménez Moreno2017-05-181-1/+13
|
* Support font-feature-settings as a @font-face descriptorAnthony Ramine2017-05-181-2/+24
|
* Set atom identifier for counter style names in @counter-style rule.Xidorn Quan2017-05-161-3/+3
|
* Change ToNsCssValue to take the ownership of value.Xidorn Quan2017-05-161-35/+35
|
* Add bindings for list and pair list value of nsCSSValue.Xidorn Quan2017-05-161-9/+17
|
* Add binding for setting pair value of nsCSSValue.Xidorn Quan2017-05-161-6/+5
|
* Add support for auto value in nsCSSValue sugar.Xidorn Quan2017-05-161-3/+3
|
* Add basic integration of @counter-style.Xidorn Quan2017-05-161-1/+27
|
* Stylo: Bug 1350175 - Support getting line / column number of CSS rulesFernando Jiménez Moreno2017-05-121-1/+3
| | | | Fix font_cache_thread test
* Add missing 'additive-symbols' validity checksSimon Sapin2017-04-261-2/+2
|
* Add speak-as descriptor for @counter-styleSimon Sapin2017-04-261-0/+13
|
* Add 'additive-symbols' descriptor for @counter-styleSimon Sapin2017-04-261-0/+7
|
* Don’t make up initial values not in spec for @counter-style descriptorsSimon Sapin2017-04-261-3/+2
|