aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #22399 - ferjm:poster.frame, r=jdmbors-servo2019-01-1414-64/+483
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Implement HTMLMediaElement poster attribute - [X] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #22288 - [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/22399) <!-- Reviewable:end -->
| * Terminate poster frame load blocker before blocking againFernando Jiménez Moreno2019-01-141-0/+1
| |
| * Make poster frame load blocker independent from media element's oneFernando Jiménez Moreno2019-01-143-8/+22
| |
| * Parse poster url relative to the node's documentFernando Jiménez Moreno2019-01-144-10/+4
| |
| * ImageContext.aborted does not need to be inside a CellFernando Jiménez Moreno2019-01-111-4/+4
| |
| * Reftest for video poster frameFernando Jiménez Moreno2019-01-1110-1/+88
| |
| * Implement HTMLMediaElement poster attributeFernando Jiménez Moreno2019-01-118-60/+383
| |
* | Auto merge of #22684 - servo:next-layout, r=emilio,SimonSapinbors-servo2019-01-1424-807/+388
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some janitoring over the layout crate This PR moves a bunch of code around and makes some methods from one-use traits into inherent methods. <!-- 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/22684) <!-- Reviewable:end -->
| * | Simplify get_cursorAnthony Ramine2019-01-141-15/+8
| | |
| * | Report the stylesheet URL when reporting CSS errorsAnthony Ramine2019-01-141-1/+1
| | |
| * | Make Window::scroll_offsets store keys as OpaqueNode valuesAnthony Ramine2019-01-143-14/+12
| | | | | | | | | | | | | | | | | | This is the type that is supposed to signal that we will never ever try to get back a Node from it in an unsafe way, unlike UntrustedNodeAddress.
| * | Remove ObjectElementAnthony Ramine2019-01-141-40/+19
| | |
| * | Remove ComputedValueUtilsAnthony Ramine2019-01-141-21/+14
| | |
| * | Remove ComputedValuesCursorUtilityAnthony Ramine2019-01-141-41/+33
| | |
| * | Remove CompletelyEnclosesAnthony Ramine2019-01-141-34/+28
| | |
| * | Remove LayoutDamageComputationAnthony Ramine2019-01-142-9/+4
| | |
| * | Remove FlowConstructionUtilsAnthony Ramine2019-01-141-17/+1
| | |
| * | Remove FlexFlowDisplayListBuildingAnthony Ramine2019-01-143-17/+6
| | |
| * | Kill RgbColorAnthony Ramine2019-01-141-22/+9
| | |
| * | Remove ListItemFlowDisplayListBuildingAnthony Ramine2019-01-143-33/+23
| | |
| * | Remove InlineFlowDisplayListBuildingAnthony Ramine2019-01-143-117/+98
| | | | | | | | | | | | | | | This lets us remove a few call indirections where a function just calls another function defined in another module.
| * | Kill establishes_containing_block_for_absoluteAnthony Ramine2019-01-141-23/+7
| | | | | | | | | | | | We inline the related tests at the two call sites.
| * | Remove FragmentDisplayListBuildingAnthony Ramine2019-01-141-225/+46
| | |
| * | Remove BaseFlowDisplayListBuildingAnthony Ramine2019-01-141-9/+1
| | |
| * | Remove BlockFlowDisplayListBuildingAnthony Ramine2019-01-1411-99/+26
| | | | | | | | | | | | Replaced by inherent methods on BlockFlow, the only implementor of that trait.
| * | Move CSSReporter from script_layout_interface to scriptAnthony Ramine2019-01-146-58/+40
| | |
| * | Rename NewLayoutThreadInfo to LayoutThreadInitAnthony Ramine2019-01-143-6/+6
| | | | | | | | | | | | Following the convention of our other init structs.
| * | Make some cosmetic changes to ReflowGoal methodsAnthony Ramine2019-01-141-24/+24
| | |
* | | Auto merge of #22682 - shanavas786:set-url-attr, r=noxbors-servo2019-01-142-2/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement Element::set_url_attribute <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #22568 <!-- Either: --> - [ ] There are tests for these changes <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/22682) <!-- Reviewable:end -->
| * | | Parse url in getter methodShanavas M2019-01-141-6/+6
| | | |
| * | | Set url attributeShanavas M2019-01-142-7/+12
| | | |
* | | | Auto merge of #22673 - shanavas786:fix-servo-is-alive, r=jdmbors-servo2019-01-142-4/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix ServoDriver is_alive method <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #22664 <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because it fixes test runner <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/22673) <!-- Reviewable:end -->
| * | | | Fix ServoDriver is_alive methodShanavas M2019-01-142-4/+2
| |/ / / | | | | | | | | | | | | Update MANIFEST.json
* | | | Auto merge of #22678 - nox:mime, r=SimonSapinbors-servo2019-01-146-37/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pull mime 0.3.13 and fix a MIME comparison in EventSource <!-- 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/22678) <!-- Reviewable:end -->
| * | | | Tweak the MIME comparison in EventSourceAnthony Ramine2019-01-141-12/+8
| | | | | | | | | | | | | | | | | | | | MIME parameters should not be inspected when checking for text/event-stream.
| * | | | Update mime to 0.3.13Anthony Ramine2019-01-145-25/+9
| | |/ / | |/| | | | | | | | | | https://github.com/hyperium/mime/pull/103
* | | | Auto merge of #22348 - germangb:html_media_ended, r=ferjmbors-servo2019-01-143-25/+104
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement Ended media attribute <!-- Please describe your changes on the following line: --> This PR should implement: * New method `HTMLMediaElement::earliest_possible_position()` for the [earliest possible position](https://html.spec.whatwg.org/multipage/media.html#earliest-possible-position) * `Ended` attribute following https://html.spec.whatwg.org/multipage/media.html#ended-playback * Queue steps for when the playback position reaches the end This PR contains placeholders for the following issues (I can rebase changes after the corresponding PRs get merged) - #22321 (Define the Loop attribute) - #22293 (To identify playback direction. Either forwards or backwards) --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [x] These changes fix #22294. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/22348) <!-- Reviewable:end -->
| * | | Update interfaces.https.html test expectationsgerman gomez2019-01-111-12/+0
| | | | | | | | | | | | | | | | Signed-off-by: german gomez <germangb42@gmail.com>
| * | | Implement Ended media attributegerman gomez2019-01-113-13/+104
| | |/ | |/| | | | | | | Signed-off-by: german gomez <germangb42@gmail.com>
* | | Auto merge of #22680 - emilio:gecko-sync, r=emiliobors-servo2019-01-1340-454/+305
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/22680) <!-- Reviewable:end -->
| * | | style: Rustfmt recent changes.Emilio Cobos Álvarez2019-01-135-52/+58
| | | |
| * | | Update references to malloc_size_of_derive, which is in crates.io now.Emilio Cobos Álvarez2019-01-1315-31/+33
| | | |
| * | | style: Document a few more macros.Emilio Cobos Álvarez2019-01-132-0/+3
| | | |
| * | | Put malloc_size_of_derive on crates.io, and add a reduced fork of ↵Bobby Holley2019-01-137-366/+5
| | | | | | | | | | | | | | | | | | | | | | | | malloc_size_of for WebRender. Differential Revision: https://phabricator.services.mozilla.com/D16353
| * | | style: Remove ServoStyleSet::PrependStyleSheet.Cameron McCormack2019-01-132-28/+0
| | | | | | | | | | | | | | | | Differential Revision: https://phabricator.services.mozilla.com/D16284
| * | | style: Implement Animate for track lists on grid-template-{columns|rows}.Boris Chiou2019-01-134-7/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1348519#c6 and https://github.com/w3c/csswg-drafts/issues/3201: Currently grid-template-rows/columns interpolate “per computed value”, which means that if the number of tracks differs, or any track changes to/from a particular keyword value to any other value, or if a line name is added/removed at any position, the entire track listing is interpolated as “discrete”. But we "agree" with two more granular options: 1. Check interpolation type per track, rather than for the entire list, before falling back to discrete. I.e. a length-percentage track can animate between two values while an adjacent auto track flips discretely to min-content. 2. Allow discrete interpolation of line name changes independently of track sizes. Besides, for the repeat() function, it's complicated to support interpolation between different repeat types (i.e. auto-fill, auto-fit) and different repeat counts, so we always fall-back to discrete if the first parameter of repeat() is different. Differential Revision: https://phabricator.services.mozilla.com/D16129
| * | | style: Part 1: Support field_bound on Animate.Boris Chiou2019-01-132-16/+28
| | | | | | | | | | | | | | | | | | | | | | | | So we can derive Animate on more generic types. Differential Revision: https://phabricator.services.mozilla.com/D16339
| * | | style: Remove unnecessary mem::transmute in MediaListKey.Cameron McCormack2019-01-131-3/+1
| | | | | | | | | | | | | | | | Differential Revision: https://phabricator.services.mozilla.com/D16147
| * | | style: Add 'overflow-anchor' CSS property.Ryan Hunt2019-01-138-3/+38
|/ / / | | | | | | | | | | | | | | | https://drafts.csswg.org/css-scroll-anchoring/#exclusion-api Differential Revision: https://phabricator.services.mozilla.com/D13265
* | | Auto merge of #22648 - collares:ChannelSplitterNode, r=Manishearthbors-servo2019-01-1216-139/+188
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement DOM APIs for ChannelSplitterNode <!-- Please describe your changes on the following line: --> Based on #21591. Fixes #21558. I tried to update the expected results for WPT using "./mach update-wpt"; let me know if I got something wrong. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix the second half of #21558 <!-- Either: --> - [x] There are web-platform-tests tests for these changes - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/22648) <!-- Reviewable:end -->