aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/test.rs
Commit message (Collapse)AuthorAgeFilesLines
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-4/+4
| | | | | * strict imports formatting * Reformat all imports
* 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
|
* `cargo fix --edition`Simon Sapin2018-11-061-17/+17
|
* Implement TimeRanges interfaceFernando Jiménez Moreno2018-10-311-0/+4
|
* Remove unused code for parsing a `sizes` attribute.Emilio Cobos Álvarez2018-07-011-4/+0
| | | | | | We have `SourceSizeList` in components/style/values/specified/source_size_list.rs which does the job and is tested via WPT in Gecko.
* Parse srcset attributeNeha2017-10-031-0/+4
|
* Auto merge of #18714 - jdm:sizes, r=jdmbors-servo2017-10-031-0/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Parse sizes attribute values Squashed version of #17808. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix (partially) #11416 - [x] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18714) <!-- Reviewable:end -->
| * Parse sizes attribute values.Rakhi Sharma2017-10-021-0/+4
| |
* | Rename DOMRefCell<T> to DomRefCell<T>Anthony Ramine2017-09-261-1/+1
| | | | | | | | | | | | | | | | I don't want to do such a gratuitous rename, but with all the other types now having "Dom" as part of their name, and especially with "DomOnceCell", I feel like the other cell type that we already have should also follow the convention. That argument loses weight though when we realise there is still DOMString and other things.
* | Rename JS<T> to Dom<T>Anthony Ramine2017-09-261-1/+1
| |
* | Rename dom::bindings::js to dom::bindings::rootAnthony Ramine2017-09-261-1/+1
|/
* script: Move the layout_wrapper outside of script.Emilio Cobos Álvarez2017-07-151-13/+0
| | | | | | | | This allows us to have ensure_data() and clear_data() functions on the TElement trait, instead of hacking around it adding methods in random traits. This also allows us to do some further cleanup, which I'd rather do in a followup.
* Added compiletest to verify TrustedPromise does not implement CloneTawhid Hannan2017-01-221-0/+1
|
* Make area structs accessible from area testsManish Goregaokar2017-01-111-0/+4
|
* Remove generation, remove filter pop, and add size tests.Bobby Holley2016-12-221-1/+9
|
* Make the dom module private.Ms2ger2016-12-221-0/+5
|
* Introduce a script::test module to expose the APIs needed for unit tests.Ms2ger2016-12-221-0/+55