aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
Commit message (Collapse)AuthorAgeFilesLines
* auto merge of #5127 : KiChjang/servo/partial-eq-jsref, r=Ms2gerbors-servo2015-03-053-7/+7
|\ | | | | | | Fixes #5112, #3960
| * Added type parameter to PartialEq on JSRef (fixes #5112, #3960)Keith Yeung2015-03-033-7/+7
| |
* | Due to changes on Page/Window interfaces, we no longer have useAdenilson Cavalcanti2015-03-043-11/+6
| | | | | | | | for flush_layout().
* | Remove the newly-created Page from the tree if loading fails.Josh Matthews2015-03-031-0/+45
| |
* | Separate disposing of layout data from the GCing of the DOM object ↵Josh Matthews2015-03-033-11/+20
| | | | | | | | reflectors. Change the order of operations when shutting down the script task to ensure that Window globals aren't used after they've been GCed.
* | Documentation and cleanup.Josh Matthews2015-03-037-29/+67
| |
* | Move everything unrelated to the frame tree out of Page and into Document or ↵Josh Matthews2015-03-0323-677/+669
| | | | | | | | Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal.
* | Split page load into separate network and parsing stages. Delay Page ↵Josh Matthews2015-03-032-180/+257
| | | | | | | | creation until the load is finished. Make session history traversal simply activate existing pipelines, rather than potentially loading them from the network.
* | auto merge of #5124 : Adenilson/servo/cleanupWarning01, r=Ms2gerbors-servo2015-03-031-1/+1
|\ \
| * | Cleanup compilation warning.Adenilson Cavalcanti2015-03-021-1/+1
| |/
* | Revert "layout: Implement ordered lists, CSS counters, and `quotes` per CSS 2.1"Simon Sapin2015-03-031-5/+0
| | | | | | | | This reverts commit 30fd28d1077fbb3f47140f6ab1252c0d24f44d23.
* | auto merge of #5133 : servo/servo/background-size, r=SimonSapinbors-servo2015-03-031-0/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `background-size` per CSS-BACKGROUNDS § 3.9. Nearest neighbor interpolation is used for `crisp-edges`, like Firefox. A note has been added that we could do better if we wanted to. Multiple backgrounds are not yet supported. Rebase of #4368. Fixes #4368.
| * | layout: Implement `image-rendering` per CSS-IMAGES-3 § 5.3 andPatrick Walton2015-03-031-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | `background-size` per CSS-BACKGROUNDS § 3.9. Nearest neighbor interpolation is used for `crisp-edges`, like Firefox. A note has been added that we could do better if we wanted to. Multiple backgrounds are not yet supported.
* | | auto merge of #5067 : servo/servo/counters, r=SimonSapinbors-servo2015-03-031-0/+5
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only simple alphabetic and numeric counter styles are supported. (This is most of them though.) Although this PR adds a sequential pass to layout, I verified that on pages that contain a reasonable number of ordered lists (Reddit `/r/rust`), the time spent in generated content resolution is dwarfed by the time spent in the parallelizable parts of layout. So I don't expect this to negatively affect our parallelism expect perhaps in pathological cases. Moved from #4544, because Critic. Fixes #4544.
| * | layout: Implement ordered lists, CSS counters, and `quotes` per CSS 2.1Patrick Walton2015-03-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | § 12.3-12.5. Only simple alphabetic and numeric counter styles are supported. (This is most of them though.) Although this PR adds a sequential pass to layout, I verified that on pages that contain a reasonable number of ordered lists (Reddit `/r/rust`), the time spent in generated content resolution is dwarfed by the time spent in the parallelizable parts of layout. So I don't expect this to negatively affect our parallelism expect perhaps in pathological cases.
* | | layout: Implement `overflow-x` and `overflow-y` per CSS-OVERFLOW § 3.Patrick Walton2015-03-031-0/+2
|/ / | | | | | | Fragmentation is not yet supported.
* / Replace borrow with borrow_for_gc_trace in JSTraceable::trace (Issue #4778).Avi Weinstock2015-03-031-1/+3
|/
* auto merge of #5086 : glennw/servo/reap-more-stuff, r=jdmbors-servo2015-03-022-34/+17
|\ | | | | | | | | | | Also introduce a clear() function to layout data which will be used to clear items such as compositor layouts. Clear the layout data when a node becomes display:none.
| * Reap layout data whenever a node is removed from the tree.Glenn Watson2015-03-032-34/+17
| | | | | | | | | | | | Also introduce a clear() function to layout data which will be used to clear items such as compositor layouts. Clear the layout data when a node becomes display:none.
* | auto merge of #4475 : pcwalton/servo/text-shadow, r=mbrubeckbors-servo2015-03-021-0/+1
|\ \ | | | | | | | | | | | | | | | r? @mbrubeck Depends on servo/rust-geom#64.
| * | layout: Implement `text-shadow` per CSS-TEXT-DECORATION-3 § 4.Patrick Walton2015-03-021-0/+1
| | |
* | | auto merge of #5089 : mmatyas/servo/canvas_lineto, r=jdmbors-servo2015-03-022-1/+5
|\ \ \ | | | | | | | | | | | | This patch enables the use of `lineTo()` on the canvas.
| * | | Canvas: added lineTo().Mátyás Mustoha2015-03-022-1/+5
| |/ /
* | | auto merge of #5110 : Ms2ger/servo/defaultvalue-strings, r=jdmbors-servo2015-03-022-13/+6
|\ \ \ | |/ / |/| |
| * | Fix string default values.Ms2ger2015-03-022-13/+6
| | |
* | | auto merge of #5111 : KiChjang/servo/step-1-anchor, r=Manishearthbors-servo2015-03-012-2/+21
|\ \ \ | |/ / |/| | | | | Fixes #4871
| * | Implementation of step 1 activation behavior of htmlanchorelement (fixes #4871)Keith Yeung2015-03-022-2/+21
| |/ | | | | | | Fixed issues
* | auto merge of #5104 : Ms2ger/servo/unused-import, r=Manishearthbors-servo2015-02-281-1/+0
|\ \
| * | Remove unused import from script_task.Ms2ger2015-02-281-1/+0
| | |
* | | auto merge of #5103 : Ms2ger/servo/from_actual, r=jdmbors-servo2015-02-281-1/+1
|\ \ \ | |/ / |/| |
| * | Use the correct lifetime bounds for FooCast::from_actual.Ms2ger2015-02-281-1/+1
| | |
* | | auto merge of #5073 : JIoJIaJIu/servo/handle_mouse_event, r=jdmbors-servo2015-02-282-73/+81
|\ \ \
| * | | Move body of ScriptTask::handle_mouse_move_event into a method on #5073Guro Bokum2015-02-282-73/+81
| | | |
* | | | auto merge of #5099 : Ms2ger/servo/exceptions, r=saneyukibors-servo2015-02-286-64/+60
|\ \ \ \ | |_|/ / |/| | |
| * | | Add support for throwing TypeErrors from DOM implementations.Ms2ger2015-02-281-0/+10
| | | |
| * | | Clarify the documentation for dom::bindings::error::Error variants.Ms2ger2015-02-281-15/+15
| | | |
| * | | Inline DOMException::new_from_error.Ms2ger2015-02-282-30/+20
| | | |
| * | | Rename FailureUnknown to JSFailed.Ms2ger2015-02-284-14/+14
| | | |
| * | | Remove unsupported types from the SupportedType IDL enum.Ms2ger2015-02-282-6/+2
| |/ /
* | | auto merge of #5094 : chmanchester/servo/binarynames, r=jdmbors-servo2015-02-285-20/+47
|\ \ \
| * | | Add support for BinaryName attribute to servo's codegen (fixes #4435) r=jdmChris Manchester2015-02-275-20/+47
| | | |
* | | | auto merge of #5059 : saneyuki/servo/event, r=jdmbors-servo2015-02-281-6/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Fix #4260 Pick up: This original commit is https://github.com/servo/servo/pull/4718.
| * | | | Click event is now a MouseEvent.Liam Zdenek2015-03-011-6/+17
| | | | | | | | | | | | | | | | | | | | This original commit is https://github.com/servo/servo/pull/4718.
* | | | | Fix a typo in argument_type.Ms2ger2015-02-281-2/+2
| |_|/ / |/| | |
* | | | auto merge of #4928 : ↵bors-servo2015-02-271-5/+5
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | yodalee/servo/issue4906-fix-characterdata-substringdata, r=jdm issue #4906 Fix substringData function, and add a test case for all function in characterdata.
| * | | fix function on utf8 string, pass two testsyodalee2015-02-281-5/+5
| | |/ | |/| | | | | | | | | | | | | dom/nodes/Node-properties.html detachedForeignComment.length] detachedXmlComment.length]
* | | auto merge of #5066 : luniv/servo/document-currentscript, r=jdmbors-servo2015-02-273-10/+24
|\ \ \ | | | | | | | | | | | | Implements https://github.com/servo/servo/issues/5057 (Document.currentScript)
| * | | Implement Document.currentScriptJames Gilbertson2015-02-273-10/+24
| |/ /
* / / Remove AccessControl header implementations in favor of hyper’s (fixes #5090)dhneio2015-02-271-148/+4
|/ /
* | Moved dispatch_key_event method from script_task.rs to document.rs, fixes #4982Keith Yeung2015-02-262-90/+92
| |