aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
Commit message (Collapse)AuthorAgeFilesLines
* Rename the PrototypeList enums to fix case build warnings.Ms2ger2014-12-183-20/+19
|
* compositing: Implement `cursor` per CSS3-UI § 8.1.1 in the CEF/Mac port.Patrick Walton2014-12-171-13/+8
| | | | | I'm not sure how we want to handle Linux cursors, and GLFW has no ability to set cursors (short of disabling it and managing it yourself).
* Use `parse_html` in DOMParser.Chris Paris2014-12-172-10/+12
|
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-17127-1680/+1715
|
* auto merge of #4397 : jdm/servo/issue_4235, r=jdmbors-servo2014-12-161-1/+3
|\ | | | | | | Rebased from #4241.
| * handle null for evaluating JS value. #4235Jerry Shih2014-12-161-1/+3
| |
* | auto merge of #4133 : mttr/servo/form_resetting, r=jdmbors-servo2014-12-168-54/+257
|\ \ | |/ |/| | | | | | | | | | | 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.
| * Fix crash in textinputMatthew Rasmus2014-12-161-1/+7
| |
* | 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-167-15/+21
|\ | | | | | | servo/pull/4369 with the right commit.
| * Add auxiliary method to EventTargetHelpers for events without targetthiagopnts2014-12-167-15/+21
| | | | | | | | fixup! Add auxiliary method to EventTargetHelpers for events without target
* | Fixed codegen error regarding Uint8ClampedArrayEdit Balint2014-12-163-4/+5
| |
* | auto merge of #4385 : pcwalton/servo/page-double-borrow, r=jdmbors-servo2014-12-151-1/+1
|\ \ | | | | | | | | | | | | | | | This was my fault. It comes up on almost any page after scrolling a bit. r? @jdm
| * | script: Fix double-borrow errorPatrick Walton2014-12-151-1/+1
| | | | | | | | | | | | This was my fault. It comes up on almost any page after scrolling a bit.
* | | 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-152-0/+13
| | |
* | | 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-159-262/+246
|\ \ | | | | | | | | | | | | | | | | | | | | | 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-152-19/+40
| | |
| * | script: Improve dirty propagation and fix script-layout synchronization.Patrick Walton2014-12-158-244/+207
| |/ | | | | | | | | 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 #4356 : servo/servo/msgs, r=jdmbors-servo2014-12-121-29/+73
|\ \
| * | script_trask, handle_msgs: factored out handle_msg_from_devtoolsGilbert Röhrbein2014-12-121-6/+18
| | |
| * | script_trask, handle_msgs: factored out handle_msg_from_scriptGilbert Röhrbein2014-12-121-11/+28
| | |
| * | script_trask, handle_msgs: factored out handle_msg_from_constellationGilbert Röhrbein2014-12-121-10/+27
| | |
| * | script_task, handle_msgs: sort for pattern constructorGilbert Röhrbein2014-12-121-9/+7
| | |
* | | auto merge of #4355 : servo/servo/devtools-title, r=metajackbors-servo2014-12-121-8/+17
|\ \ \ | |/ / |/| | | | | Fixes #4167.
| * | Return real page titles and URLs for devtools tab choices.Greg Weng2014-12-121-8/+17
| | | | | | | | | | | | Fixes #4167.
* | | 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
| | |