aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
Commit message (Collapse)AuthorAgeFilesLines
* Rename the PrototypeList enums to fix case build warnings.Ms2ger2014-12-183-20/+19
|
* Use `parse_html` in DOMParser.Chris Paris2014-12-171-8/+5
|
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-17117-1571/+1586
|
* auto merge of #4133 : mttr/servo/form_resetting, r=jdmbors-servo2014-12-167-53/+250
|\ | | | | | | | | | | | | | | We can reset `<input type=text>` fields! I wish I could've done something with checkboxes, but unfortunately, that's it for now. In addition to that, this PR implements `HTMLInputAttribute.defaultValue`, updates wpt-test to expect passing tests as a result of that implementation, and fixes an index error crash with text inputs. edit: also includes an html example where one may lazily watch form resets in action: ` tests/html/form_reset_handsfree.html`
| * Implements :indeterminate pseudo-classMatthew Rasmus2014-12-164-59/+80
| | | | | | | | Addresses reviews
| * Implements dirty value/checked flags for inputMatthew Rasmus2014-12-162-12/+41
| | | | | | | | | | | | And modifies test-inputs.html to test. Fixes wpt breaking mistake
| * Implements DefaultChecked and resets of checkboxesMatthew Rasmus2014-12-162-7/+11
| |
| * htmltextarea: Fixed some value_changed issuesMatthew Rasmus2014-12-161-2/+4
| | | | | | | | | | Also modified tests/html/textarea.html to allow for the testing of the textarea's dirty value flag.
| * Implements reset buttonMatthew Rasmus2014-12-161-1/+10
| |
| * Implements FormControl for HTMLTextAreaElementMatthew Rasmus2014-12-163-8/+59
| |
| * Adds reset method to FormControlMatthew Rasmus2014-12-162-20/+20
| |
| * Implements basic form resettingMatthew Rasmus2014-12-162-1/+73
| | | | | | | | | | | | | | What can this do? Reset `<input type=text>` fields back to their default value through a call to a form's reset method. That's all for now! Fixes compile error after rebase
| * Implements HTMLInputElement.defaultValueMatthew Rasmus2014-12-162-2/+11
| | | | | | | | | | | | | | | | | | ...and changes SetValue to update the input text instead of the content attr. Also includes a comment summarizing everything I currently know with respect to an input elements checkedness vs its IDL attributes vs its content attributes.
* | Makes layout respect <textarea> rows attributeMatthew Rasmus2014-12-162-2/+26
| | | | | | | | review addresssing
* | Makes layout respect <textarea> cols attributeMatthew Rasmus2014-12-162-3/+33
|/
* auto merge of #4374 : thiagopnts/servo/dispatch-event, r=Ms2gerbors-servo2014-12-166-14/+20
|\ | | | | | | servo/pull/4369 with the right commit.
| * Add auxiliary method to EventTargetHelpers for events without targetthiagopnts2014-12-166-14/+20
| | | | | | | | fixup! Add auxiliary method to EventTargetHelpers for events without target
* | Fixed codegen error regarding Uint8ClampedArrayEdit Balint2014-12-163-4/+5
| |
* | auto merge of #4381 : Manishearth/servo/performancenow, r=jdmbors-servo2014-12-152-3/+4
|\ \
| * | Fix window.performance.now()Manish Goregaokar2014-12-162-3/+4
| |/
* | style: Address review comments relating to `bgcolor` and column spansPatrick Walton2014-12-159-57/+193
| |
* | style: Implement quirks mode rules.Patrick Walton2014-12-151-0/+10
| |
* | style: Implement basic column spans.Patrick Walton2014-12-153-2/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch provides some of the groundwork for column spans greater than 1. It implements the column-span CSS property (prefixed so as not to be exposed to content) as well as the corresponding colspan attribute; although the former is not well-specified outside of CSS multi-column layout, INTRINSIC refers to it. Although width is distributed to spanning columns, they do not yet contribute minimum and preferred widths; this will be implemented in a follow-up. Additionally, this patch cleans up some miscellaneous formatting issues and improves the handling of table rowgroups.
* | style: Parse the legacy `bgcolor` attribute per the HTML5 specification.Patrick Walton2014-12-155-21/+103
| | | | | | | | Additionally, this patch cleans up some miscellaneous formatting issues.
* | style: Parse the legacy `border` attribute per the legacy HTML specification.Patrick Walton2014-12-154-20/+151
| | | | | | | | | | | | | | Additionally, this patch cleans up some miscellaneous formatting issues and refactors files in `layout/css/` somewhat to eliminate needless levels of indirection. It also fixes our handling of presentational hints that only apply if border is nonzero.
* | auto merge of #3844 : pcwalton/servo/script-layout-synchronization, r=jdmbors-servo2014-12-157-117/+144
|\ \ | | | | | | | | | | | | | | | | | | | | | This fixes race conditions whereby layout and script could be running simultaneously. r? @jdm cc @cgaebel
| * | script: Add some workarounds for image cache task racesPatrick Walton2014-12-151-1/+15
| | |
| * | script: Improve dirty propagation and fix script-layout synchronization.Patrick Walton2014-12-156-116/+129
| |/ | | | | | | | | This fixes race conditions whereby layout and script could be running simultaneously.
* / Correctly set the BlobType for File objects.Ms2ger2014-12-152-8/+8
|/
* Make ErrorEvent::new take cancelable and bubbling enumsthiagopnts2014-12-151-5/+9
|
* auto merge of #4297 : ChrisParis/servo/parse, r=Ms2gerbors-servo2014-12-131-7/+19
|\ | | | | | | Addresses https://github.com/servo/servo/issues/3756. I've tested this code with a new test that I've submitted to https://github.com/w3c/web-platform-tests.
| * Make DOMParser::ParseFromString actually parse the stringChris Paris2014-12-131-7/+19
| |
* | Skip the root node in live HTMLCollections.Ms2ger2014-12-132-20/+11
| | | | | | | | | | The root node is never included in the collection, and omitting it here simplifies and speeds up the filter implementations.
* | Factor out part of the traversal routine in HTMLCollection.Ms2ger2014-12-131-24/+19
| | | | | | | | | | I would move the filter() call into the traverse function as well, but the callback can't outlive its stack frame.
* | auto merge of #4354 : neojski/servo/getElementsByTagNameNS-filter-root, r=Ms2gerbors-servo2014-12-121-2/+8
|\ \ | | | | | | | | | This fixes #4349.
| * | Follow-up to work done in #4304.Tomasz Kołodziejski2014-12-121-1/+4
| | | | | | | | | | | | all_elements should ignore root as well.
| * | Don't include the root element when calling Element#getElementsByTagNameNS.Tomasz Kołodziejski2014-12-121-1/+4
| | |
* | | Sending key events through script task before processing them in the compositor.Nathan E. Egge2014-12-121-2/+3
|/ / | | | | | | Fixes #4163
* | Fix spelling mistakes in comments.Joseph Crail2014-12-112-5/+5
| |
* | auto merge of #4332 : Ms2ger/servo/performance, r=jdmbors-servo2014-12-113-16/+22
|\ \
| * | Pass the timing information to PerformanceTiming rather than exposing methods.Ms2ger2014-12-113-16/+22
| | |
* | | auto merge of #4189 : chmanchester/servo/rootlint, r=jdmbors-servo2014-12-111-9/+0
|\ \ \ | |/ / |/| | | | | I think this matches the intent of the issue, I'm a rust/servo novice; any suggestions for improvements are welcome. Thanks!
| * | Return early and decline analysis when linting within unsafe functions for ↵Chris Manchester2014-12-091-9/+0
| | | | | | | | | | | | | | | | | | must_root analysis. Removes a handful of whitelist annotations obsoleted by this change. fixes #3658
* | | ports/cef: Implement accelerated compositing for the CEF port.Patrick Walton2014-12-103-2/+36
| | |
* | | auto merge of #4108 : shinglyu/servo/blob, r=jdmbors-servo2014-12-095-22/+110
|\ \ \ | | | | | | | | | | | | Let's build this incrementally. I implemented a `Blob` that can hold a `DOMString`, and has `size` attribute and `slice(...)` method. I'll finish the rest in later PRs.
| * | | Issue #1820 - Improve the Blob implementationShing Lyu2014-12-095-22/+110
| | | |
* | | | Don't include the root element when calling Element#getElementsByTagNameEmanuel Rylke2014-12-091-1/+4
| | | | | | | | | | | | | | | | Fixes #4249
* | | | auto merge of #4298 : Manishearth/servo/zirak-link-attrs, r=Manishearthbors-servo2014-12-082-5/+20
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | Carried over from #4248 Critic review: https://critic.hoppipolla.co.uk/r/3392
| * | | Bound several link properties.Zirak2014-12-092-5/+20
| | | | | | | | | | | | | | | | Specifically: href, rel, media, hreflang and type.
* | | | auto merge of #4280 : Ms2ger/servo/cleanup-node, r=jdmbors-servo2014-12-081-55/+38
|\ \ \ \