aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/css.rs
Commit message (Collapse)AuthorAgeFilesLines
* style: Remove dependency on servo_url (#31358)Martin Robinson2024-02-161-5/+5
| | | | | In order for stylo to be a separate crate, it needs to depend on less things from Servo. This change makes it so that stylo no longer depends on servo_url.
* Further changes required by ServoOriol Brufau2023-11-241-1/+3
|
* Use Foo_Binding instead of FooBinding for namespace modules (#30447)Samson2023-09-301-1/+1
| | | | | * Update Codegen.py to emit Foo_Binding instead of FooBinding * s/FooBinding/Foo_Binding/g
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-7/+8
| | | | | * strict imports formatting * Reformat all imports
* Miscellaneous build / tidy fixes.Emilio Cobos Álvarez2021-02-261-3/+5
|
* Modify `script` to prevent further violations of snake_caseKunal Mohan2020-01-181-0/+1
|
* Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Reorder importsPyfisch2018-11-061-2/+2
|
* Sort `use` statementsSimon Sapin2018-11-061-1/+1
|
* `cargo fix --edition`Simon Sapin2018-11-061-7/+7
|
* Fix Servo build.Emilio Cobos Álvarez2018-10-191-15/+15
|
* Fix other parts of the Servo build.Emilio Cobos Álvarez2018-09-031-0/+2
|
* layout: script: Fix build.Emilio Cobos Álvarez2018-06-231-2/+4
|
* Move paintWorklet from "Window" to "CSS" according to new specificationyurket2018-02-221-0/+7
| | | | Relevant discussion: https://github.com/w3c/css-houdini-drafts/issues/410
* Bump bitflags to 1.0 in every servo crateBastien Orivel2017-10-301-3/+3
|
* Backed out changeset e64e659c077d: servo PR #18809 and revendor for reftest ↵Gecko Backout2017-10-191-3/+3
| | | | | | failures, e.g. in layout/reftests/bugs/392435-1.html. r=backout on a CLOSED TREE Backs out https://github.com/servo/servo/pull/18809
* Update bitflags to 1.0 in every servo crateBastien Orivel2017-10-191-3/+3
| | | | | It still needs dependencies update to remove all the other bitflags versions.
* Fix commonmark Markdown warnings in docs, part 1Matt Brubeck2017-10-171-3/+3
| | | | | | | | Fixes warnings from rust-lang/rust#44229 when `--enable-commonmark` is passed to rustdoc. This is mostly a global find-and-replace for bare URIs on lines by themselves in doc comments.
* Devirtualize CSS error reporting.Josh Matthews2017-08-241-2/+0
|
* style: Cleanup ParserContext::new_with_rule_type.Emilio Cobos Álvarez2017-08-181-6/+14
|
* Store raw string for prop decl in @supportsXidorn Quan2017-07-211-1/+5
|
* Move ParsingMode into style_traits.Hiroyuki Ikezoe2017-06-141-1/+2
|
* Thread ParseError return values through CSS parsing.Josh Matthews2017-06-091-2/+3
|
* style: Split stylesheets.rsEmilio Cobos Álvarez2017-06-041-1/+1
| | | | | | | | | | | | | This file has become quite bloated lately. This commit deletes that file in favor of a set of submodules. The only noticeable change apart from code move, is converting deep_clone_foo methods into a trait. It also unifies logic related to different style rules in the same place. There's some missing work, specially related to font-face and counter-style, but I think this is worth landing in the meantime.
* Make ParsingMode bitflags.Hiroyuki Ikezoe2017-05-141-3/+3
| | | | | assert_parsing_mode_match() is mostly the same as assert_restyle_hints_match().
* Rename LengthParsingMode to ParsingMode and LengthParsingMode::SVG to ↵Hiroyuki Ikezoe2017-05-141-3/+3
| | | | | | | PasingMode::AllowUnitlessLength. We need another flag that represents allow-negative-number for SMIL, so this enum will also comprise the another parsing mode that allows negative number.
* Propagate quirks mode all the way to ParserContextAnthony Ramine2017-04-271-2/+5
| | | | The quirks mode is still not properly propagated in geckolib.
* SVG length parsing modeJ. Ryan Stinnett2017-04-141-3/+5
| | | | | | | SVG allows non-zero lengths to be accepted and assumes they are in px. This adds this length parsing mode to Servo. MozReview-Commit-ID: Kxd3x64r9Ye
* Pull rule_type into ParserContextJ. Ryan Stinnett2017-04-121-2/+3
| | | | | | | Absorb `rule_type` into the `ParserContext` so that it's easier to pass down to deeper levels of the parser. MozReview-Commit-ID: DjBNytLxGKX
* style: Avoid cloning all over the error reporter.Emilio Cobos Álvarez2017-03-141-2/+2
|
* Make #[dom_struct] a proc_macro attributeAnthony Ramine2017-02-241-0/+1
|
* Add CSS.supports()Manish Goregaokar2017-01-071-2/+26
|
* Make WebIDL static methods take a more specific global if possibleAnthony Ramine2016-11-301-2/+2
|
* Pass a &GlobalScope to WebIDL static methods and constructorsAnthony Ramine2016-10-061-2/+2
|
* Move DOMString back to scriptAnthony Ramine2016-05-241-1/+1
| | | | This entirely removes the 'non-geckolib' feature of the util crate.
* Update cssparser to fix CSS.escape test failuresMaciej Skrzypkowski2016-05-061-4/+1
| | | | Fixed failing tests #10685
* Replaced DOMString constructor by conversion functions.Alan Jeffrey2015-11-121-3/+3
| | | | | | Replaced DOMString(...) by DOMString::from(...). Replaced ....0 by String::from(...). Removed any uses of .to_owner() in DOMString::from("...").
* Make DOMString a newtype around String, rather than a typedef.Ms2ger2015-11-041-1/+1
| | | | | | | | | | This should make it somewhat easier to experiment with alternative representations in the future. To reduce churn, this commit leaves the String field public, though. Also, this will allow us to use the default String type to represent the IDL USVString type, which explicitly forbids unpaired surrogates, ans as such is a better match to the Rust String type.
* more refactoringrohan.prinja2015-10-301-1/+1
|
* Fix reported test-tidy errors for unmerged import blocksBrandon Fairchild2015-09-191-2/+1
| | | | This merges import blocks that were reported by tidy as unmerged.
* make dom_struct derive HeapSizeOf,João Oliveira2015-08-271-1/+0
| | | | closes #7357
* Measure heap memory usage for more types. Fixes #6951Bogdan Cuza2015-08-131-0/+1
|
* Implement the CSS interfaceAnthony Ramine2015-04-251-0/+27