aboutsummaryrefslogtreecommitdiffstats
path: root/components/atoms
Commit message (Collapse)AuthorAgeFilesLines
* Handle AddInput/RemoveInput eventsManish Goregaokar2020-01-091-0/+1
|
* Add support for squeeze eventsManish Goregaokar2019-11-221-0/+3
|
* Update rand to 0.7 (fixes #24448)Anthony Ramine2019-10-231-2/+2
|
* continue messageport, transferable, postmessage optionsGregory Terzian2019-10-191-0/+1
|
* Fire visibilitychange event appropriatelyManish Goregaokar2019-10-111-0/+1
|
* Fire selection events from XR input sourcesManish Goregaokar2019-10-031-0/+2
|
* Implement ElementClick wd commandGeorge Roman2019-08-311-0/+3
|
* Support end events and end()Manish Goregaokar2019-07-221-0/+1
|
* atoms: Add some static atoms in code that is shared with gecko.Emilio Cobos Álvarez2019-05-291-0/+4
|
* Add RTCPeerConnection.ontrackManish Goregaokar2019-05-081-0/+1
|
* Add SignalingState to RTCPeerConnectionManish Goregaokar2019-03-251-0/+1
|
* Add ICEConnectionState to RTCPeerConnectionManish Goregaokar2019-03-251-0/+1
|
* Add ICEGatheringState to RTCPeerConnectionManish Goregaokar2019-03-251-0/+1
|
* Fire negotiationneeded and icecandidate eventsManish Goregaokar2019-01-291-0/+2
|
* Implement formdata eventCYBAI2019-01-231-0/+1
|
* Reftest for video poster frameFernando Jiménez Moreno2019-01-111-0/+1
|
* Auto merge of #22599 - aditj:patch-1-re, r=ferjmbors-servo2019-01-101-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement performance interface extension for PerformanceResourceTiming <!-- Please describe your changes on the following line: --> (There is a previous closed pull for this #22431) Implemented the following : a) Added the maxSize Field to the PerformanceEntryList structure. b) Implemented the clearResourceTimings, setResourceTimingBufferSize, onresourcetimingbufferfull fuctions for the Performance Structure according to the Interface Specification given at : https://w3c.github.io/resource-timing/#sec-extensions-performance-interface --- <!-- 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 #22307 (GitHub issue number if applicable) <!-- Either: --> - [X] There are tests for these changes OR - [ ] 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/22599) <!-- Reviewable:end -->
| * Implement performance interface extension for PerformanceResourceTimingadit2019-01-091-0/+1
| |
* | script: Implement the HTMLTrackElement APIDan Robertson2019-01-081-0/+2
|/ | | | Implement the basics of the HTMLTrackElement and update the wpt tests.
* Implement HTMLMediaElement defaultPlaybackRate and playbackRate attributesGeorge Roman2018-12-261-0/+1
|
* Implementing volume attribute into HTMLMediaElementLucas Fantacuci2018-12-121-0/+1
|
* script: Create structures for TextTrack APIDan Robertson2018-12-111-0/+2
| | | | | | | | | Fill out the basics for the WebIDLs for the following: - TextTrack - TextTrackCue - TextTrackCueList - TextTrackList
* Auto merge of #22224 - pyfisch:composition-webdriver, r=noxbors-servo2018-11-201-0/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Forward WebDriver CompositionEvent Dispatch composition events in JS. Insert characters from composition events to text input. CompositionEvents currently can only be created by WebDriver and not by embedders. <!-- 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 - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] 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/22224) <!-- Reviewable:end -->
| * Forward WebDriver CompositionEventPyfisch2018-11-191-0/+3
| | | | | | | | | | | | | | | | Dispatch composition events in JS. Insert characters from composition events to text input. CompositionEvents currently can only be created by WebDriver and not by embedders.
* | Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-192-2/+2
|/
* Introduce rejectionhandled eventCYBAI2018-11-131-0/+1
|
* Remove useless `use crate_name;` imports.Simon Sapin2018-11-081-1/+0
| | | | A `crate_name::foo` path always works in 2018
* `cargo fix --edition-idioms`Simon Sapin2018-11-082-4/+1
|
* Reorder importsPyfisch2018-11-061-1/+1
|
* Switch most crates to the 2018 editionSimon Sapin2018-11-061-0/+1
|
* style: Add the safe area constant names as atoms.Emilio Cobos Álvarez2018-11-051-0/+4
|
* HTMLMediaElement seekingFernando Jiménez Moreno2018-10-261-0/+2
|
* Implement unhandledrejection eventCYBAI2018-10-181-0/+1
|
* Media element duration paramFernando Jiménez Moreno2018-10-081-0/+1
|
* videoWidth and videoHeight paramsFernando Jiménez Moreno2018-10-081-0/+1
|
* Add rtl and ltr as static atoms.Emilio Cobos Álvarez2018-09-031-0/+2
|
* Add `scan` as a static atom.Emilio Cobos Álvarez2018-08-181-0/+1
|
* Add `width` as a static atom.Emilio Cobos Álvarez2018-08-181-0/+1
|
* Format components atoms #21373kingdido9992018-08-171-1/+2
|
* OfflineAudioContextFernando Jiménez Moreno2018-07-301-0/+1
|
* Fire AudioScheduledSourceNode.onended when playback stopsFernando Jiménez Moreno2018-07-301-0/+1
|
* atoms: Add scroll-position as a static atom.Emilio Cobos Álvarez2018-06-021-0/+1
| | | | That way we avoid cfg churn in WillChange stuff.
* beforeunload and unload infrastructureGregory Terzian2018-05-051-0/+2
|
* Make session history aware of URLsConnor Brewster2018-04-241-0/+1
|
* Implement history stateConnor Brewster2018-04-161-0/+1
|
* Fire the pageshow event at the end of the page load r=jdmFabrice Desré2018-03-061-0/+1
|
* Bump string_cache, html5ever and xml5everBastien Orivel2017-12-071-1/+1
|
* Remove support for <input type=datetime>Jon Leighton2017-12-071-1/+0
| | | | | | It has been removed from the spec: https://github.com/whatwg/html/issues/336 See also https://github.com/servo/servo/pull/19471#pullrequestreview-80711878
* Expand InputType to cover all possible typesJon Leighton2017-12-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This came out of a conversation with nox in IRC: https://mozilla.logbot.info/servo/20171201#c13946454-c13946594 The code I was working on which motivated this change is here: https://github.com/servo/servo/pull/19461 Previously, InputType::Text was used to represent several different values of the type attribute on an input element. If an input element doesn't have a type attribute, or its type attribute doesn't contain a recognised value, then the input's type defaults to "text". Before this change, there were a number of checks in the code which directly looked at the type attribute. If those checks matched against the value "text", then they were potentially buggy, since an input with type=invalid should also behave like an input with type=text. Rather than have every conditional which cares about the input type also have to deal with invalid input types, we can convert the type attribute to an InputType enum once, and then match against the enum. A secondary benefit is that the compiler can tell us whether we've missed branches in a match expression. While working on this I discovered that the HTMLInputElement::value_mode() method misses a case for inputs with type=hidden (this resulted in a failing WPT test passing). I've also implemented the Default trait for InputType, so we now only have one place in the code which knows that InputType::Text is the default, where previously there were several.
* Add a sanitize_value implementation for the color inputBastien Orivel2017-11-221-1/+2
| | | | | | | | | | | | I had to change the test a little bit to avoid some failures due to color and text both having a sanitizedValue which was making the test use the first assertion instead of the second one in some cases. The sanitize_value implementation is pretty simple, we iterate over the content and checks that the content is 7 characters long, that the first character is a `#` and then that all the following characters are hexadecimal. If all those requirements are met, we lowercase the content, otherwise we put `#000000` in it.