aboutsummaryrefslogtreecommitdiffstats
path: root/components
Commit message (Collapse)AuthorAgeFilesLines
* Update webidl of ServiceWorkerRegistrationCYBAI2018-11-112-5/+22
|
* Auto merge of #22167 - emilio:gecko-sync, r=emiliobors-servo2018-11-1075-814/+1023
|\ | | | | | | | | | | | | | | | | | | | | style: Sync changes from mozilla-central. See each individual commit for details. <!-- 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/22167) <!-- Reviewable:end -->
| * style: Manually extinguish multi-line use statements.Emilio Cobos Álvarez2018-11-1019-66/+45
| |
| * style: Revert try -> r#try change.Emilio Cobos Álvarez2018-11-1047-336/+326
| | | | | | | | | | Since we're in an inconsistent state because mako files weren't updated, and it's really really ugly.
| * style: Cargo fix + ./mach fmt.Emilio Cobos Álvarez2018-11-109-19/+21
| |
| * layout: Fix servo build.Emilio Cobos Álvarez2018-11-102-0/+2
| | | | | | | | TextAlign now implements FromPrimitive instead of an ad-hoc method.
| * style: Percentage values of translate are serialized as percent for computed ↵Boris Chiou2018-11-107-34/+127
| | | | | | | | | | | | | | | | | | | | values. Basically, we rewrite the type of generics::transform::Translate and its ToCss to match the spec. Besides, we always serialize Translate by servo, so we could drop a lot of duplicated code. Differential Revision: https://phabricator.services.mozilla.com/D11206
| * style: Remove dynamic HTML5 atoms.Emilio Cobos Álvarez2018-11-101-2/+2
| | | | | | | | | | | | Co-authored-by: Nicholas Nethercote <nnethercote@mozilla.com> Differential Revision: https://phabricator.services.mozilla.com/D11035
| * style: Add -webkit-appearance:progress-bar and make that the default for ↵Mats Palmgren2018-11-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | <progress> for compatibility with other UAs. Keep our old 'progressbar' as an alias for now, but unship 'progresschunk' by restricting it to UA/chrome sheets only. Unship 'progresschunk-vertical' by removing it since it's not used internally for anything. Bug: 1501506 Reviewed-by: jwatt
| * style: Add -webkit-appearance:meter and make that the default for <meter> ↵Mats Palmgren2018-11-101-1/+3
| | | | | | | | | | | | | | | | | | | | for compatibility with other UAs. Keep our old value 'meterbar' as an alias for now, but unship 'meterchunk' by restricting it to UA/chrome sheets only. Bug: 1501483 Reviewed-by: jwatt
| * style: Split up push_applicable_declarations.Emilio Cobos Álvarez2018-11-103-293/+426
| | | | | | | | | | | | | | Introduce RuleCollector, which contains all the state we need during the cascade, and allows to reuse a bit of code. Differential Revision: https://phabricator.services.mozilla.com/D11233
| * style: Cleanup text-align.Emilio Cobos Álvarez2018-11-102-66/+39
| | | | | | | | | | | | Use derive(FromPrimitive) instead. Differential Revision: https://phabricator.services.mozilla.com/D11332
| * style: Implement overflow-wrap: anywhere.Emilio Cobos Álvarez2018-11-108-7/+36
| | | | | | | | | | | | Per https://github.com/w3c/csswg-drafts/issues/2682 Differential Revision: https://phabricator.services.mozilla.com/D11328
| * style: Enable CSS column-span in UA stylesheet, and update test expectations.Ting-Yu Lin2018-11-101-0/+2
| | | | | | | | | | | | | | | | We use "column-span: all" in ua.css in Part 3. To be able to flip the pref in individual wpt tests, we need column-span to be always enabled in UA stylesheets. Differential Revision: https://phabricator.services.mozilla.com/D5212
| * style: Allow ::slotted()::placeholder.Emilio Cobos Álvarez2018-11-101-5/+9
| | | | | | | | Differential Revision: https://phabricator.services.mozilla.com/D11132
* | Auto merge of #22164 - pyfisch:into-stops, r=emiliobors-servo2018-11-101-2/+2
|\ \ | |/ |/| | | | | | | | | | | | | | | | | Use GradientBuilder::into_stops Avoid cloning gradient stops. <!-- 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/22164) <!-- Reviewable:end -->
| * Use GradientBuilder::into_stopsPyfisch2018-11-101-2/+2
| | | | | | | | Avoid cloning gradient stops.
* | `cargo fix --edition --features gecko`Simon Sapin2018-11-1087-584/+613
| |
* | `cargo fix --edition`Simon Sapin2018-11-10183-1363/+1397
| |
* | Use 2018-style paths in code generated by MakoSimon Sapin2018-11-1026-597/+598
| |
* | Use 2018-style paths in code generated by style_deriveSimon Sapin2018-11-109-65/+65
|/
* Auto merge of #22156 - jdm:wr-scroll, r=pcwaltonbors-servo2018-11-091-1/+43
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a transparent hit-testing rectangle for scrollable block content. This implements the strategy described at https://github.com/servo/webrender/issues/3261#issuecomment-435106998 and which Gecko uses as well. Adding a transparent rectangle below the content and above the background ensures that hit testing correctly associates the background area with the right scrolling node. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #22073 - [x] These changes do not require tests because the affected codepath requires user input, and we don't support webdriver tests yet. <!-- 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/22156) <!-- Reviewable:end -->
| * Add a transparent hit-testing rectangle for scrollable block content.Josh Matthews2018-11-091-1/+43
| |
* | Get the magicleap build to work in CIAlan Jeffrey2018-11-092-8/+3
| |
* | Update uuidBastien Orivel2018-11-0912-12/+12
|/
* Auto merge of #22143 - emilio:gecko-sync, r=jdmbors-servo2018-11-0825-193/+242
|\ | | | | | | | | | | | | | | | | | | | | style: Sync changes from mozilla-central. See each individual commit for details. <!-- 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/22143) <!-- Reviewable:end -->
| * style: Some minor formatting nits.Emilio Cobos Álvarez2018-11-0811-74/+54
| |
| * Fix Servo build.Emilio Cobos Álvarez2018-11-081-4/+3
| |
| * style: Format recent patches.Emilio Cobos Álvarez2018-11-087-9/+10
| |
| * style: Fix code style of a recent commit.Emilio Cobos Álvarez2018-11-081-4/+4
| |
| * style: Fix the default behavior of scale:<number>{1}.Boris Chiou2018-11-084-23/+65
| | | | | | | | | | | | | | | | | | | | | | The current spec says: "If only the X value is given, the Y value defaults to the same value.", so we should update the behavior. Besides, we also update the serialization, so we serialization both specified and computed value by servo. We enable the preference for all the css-transforms, so some of them are passed now. Differential Revision: https://phabricator.services.mozilla.com/D10638
| * style: followup post-review nit.Emilio Cobos Álvarez2018-11-081-2/+1
| |
| * style: Store the Rust QuotePair slice as the computed quotes value in Gecko ↵Cameron McCormack2018-11-084-31/+24
| | | | | | | | | | | | | | | | style structs. Depends on D10651 Differential Revision: https://phabricator.services.mozilla.com/D10652
| * style: Make quotes property representation allocate less.Cameron McCormack2018-11-085-66/+54
| | | | | | | | Differential Revision: https://phabricator.services.mozilla.com/D10650
| * style: Serialize `background-size: auto auto` as "auto".Cameron McCormack2018-11-084-3/+53
| | | | | | | | | | | | | | | | With this change, all of Chrome, Edge, Firefox, and Safari serialize background-size by omitting the second "auto" if the value is "auto auto". Other keywords are still repeated. Differential Revision: https://phabricator.services.mozilla.com/D10446
| * style: Remove preference "layout.css.shape-outside.enabled".Ting-Yu Lin2018-11-081-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | shape-outside, shape-margin, shape-image-threshold have been shipped in Firefox 62. We can remove the preference. The change in devtools/shared/css/generated/properties-db.js is generated by "./mach devtools-css-db" The actual shape-image CORS mode tests in file_shape_outside_CORS.html are moved into test_shape_outside_CORS.html because we don't need the <iframe> trick to enable the feature. Differential Revision: https://phabricator.services.mozilla.com/D10804
* | Auto merge of #22144 - Eijebong:hyperfix, r=jdmbors-servo2018-11-081-4/+34
|\ \ | |/ |/| | | | | | | | | | | Fix downloading huge files (broken since hyperup) <!-- 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/22144) <!-- Reviewable:end -->
| * Use chunk.as_ref() instead of &chunk.into_bytes()Bastien Orivel2018-11-081-3/+3
| |
| * Continue decompressing chunks even after hyper is done downloading the bodyBastien Orivel2018-11-081-1/+31
| | | | | | | | | | | | If hyper reads compressed enough data, we were decompressing 32k by 32k but we were throwing away the end of the body because we would end up having lots of backed up data in the cursor when hyper was done.
| * Don't reset the buffers for each chunk we downloadBastien Orivel2018-11-081-2/+2
| | | | | | | | | | Sometimes hyper sends data that can't completely decompressed, resetting the buffer means we're losing some data and thus breaking the body
* | Remove useless `use crate_name;` imports.Simon Sapin2018-11-0878-102/+0
| | | | | | | | A `crate_name::foo` path always works in 2018
* | `cargo fix --edition-idioms`Simon Sapin2018-11-08190-1191/+645
| |
* | Auto merge of #22136 - pyfisch:fix-select-all, r=jdmbors-servo2018-11-071-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Correct select all Fixes assertion failure. Set selection direction forward on select all. <!-- 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/22136) <!-- Reviewable:end -->
| * | Correct select allPyfisch2018-11-071-0/+1
| |/ | | | | | | | | Fixes assertion failure. Set selection direction forward on select all.
* | Auto merge of #22087 - Eijebong:rust_serialize, r=jdmbors-servo2018-11-077-45/+17
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove rustc-serialize from the dependencies Closes #12410. <!-- 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/22087) <!-- Reviewable:end -->
| * | Remove rustc-serialize from the dependenciesBastien Orivel2018-11-077-45/+17
| |/
* | Auto merge of #22129 - ferjm:media.task.source, r=Manishearthbors-servo2018-11-071-3/+3
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | HTMLMediaElement - use media element instead of dom manipulation task… … source - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors <!-- 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/22129) <!-- Reviewable:end -->
| * HTMLMediaElement - use media element instead of dom manipulation task sourceFernando Jiménez Moreno2018-11-061-3/+3
| |
* | Auto merge of #22126 - pyfisch:autoformat, r=jdmbors-servo2018-11-07560-3997/+5423
|\ \ | | | | | | | | | | | | | | | | | | | | | Enforce rustfmt on CI <!-- 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/22126) <!-- Reviewable:end -->
| * | Reorder importsPyfisch2018-11-06520-1477/+1900
| | |