aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #10710 - Ms2ger:js, r=noxbors-servo2016-04-211-1/+1
|\ | | | | | | | | | | | | | | Update js. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10710) <!-- Reviewable:end -->
| * Update js.Ms2ger2016-04-201-1/+1
| |
* | Auto merge of #9942 - jdm:load_error, r=ms2gerbors-servo2016-04-205-38/+70
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moving the error handling out of network loader Rebase of #8851. Fixes #8678. Fixes #9944. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9942) <!-- Reviewable:end -->
| * | Propagating the load errors from network loaderRavi Shankar2016-04-205-38/+70
| | |
* | | Auto merge of #10750 - servo:num, r=noxbors-servo2016-04-207-7/+7
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | Use num's constituent crates. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10750) <!-- Reviewable:end -->
| * | Use num-traits in script.Ms2ger2016-04-207-7/+7
| | |
* | | Auto merge of #9968 - izgzhen:scroll, r=asajeffreybors-servo2016-04-204-4/+347
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement scroll, scrollLeft, scrollTop and friends, addressing issue #9650 This is a work in progress to solve https://github.com/servo/servo/issues/9650. Thanks a lot for helping the review. - [x] scroll - [x] scrollTo - [x] scrollBy - [x] scrollTop (setter and getter) - [x] scrollLeft (setter and getter) The setters will be implemented in another PR after this is merged. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9968) <!-- Reviewable:end -->
| * | element scroll settersZhen Zhang2016-04-203-39/+259
| | |
| * | Implement ScrollTop and ScrollLeft getters:Zhen Zhang2016-04-194-1/+124
| | | | | | | | | | | | | | | | | | | | | | | | Add new compositor message to get scroll_offset; Add new layout query for computed value of overflow-x/y; Implement layer_id method for ThreadSafeLayoutNode; Add new layout query for layer_id; Implement script interface for getting scrollTop and scrollLeft, as well as relavant helper functions.
* | | Remove extra definition of WHITESPACE under components/util/str.rszakorgyula2016-04-201-2/+2
| | |
* | | Auto merge of #10718 - mbrubeck:trace, r=jdmbors-servo2016-04-201-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lower the logging level of a really chatty fn Reduces the amount of spew when running with settings like `RUST_LOG=script=debug`. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10718) <!-- Reviewable:end -->
| * | | Lower the logging level of a really chatty fnMatt Brubeck2016-04-191-2/+2
| | | |
* | | | Auto merge of #10708 - Ms2ger:warnings, r=emiliobors-servo2016-04-192-2/+1
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | Fix some compile warnings. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10708) <!-- Reviewable:end -->
| * | | Fix some compile warnings.Ms2ger2016-04-192-2/+1
| | |/ | |/|
* | | Auto merge of #10634 - amarant:10574-image-document-base, r=metajackbors-servo2016-04-191-1/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | Issue #10574 Use the document base url in img add a test with base path set to the resources path and an img with a cat and the reference directly to the image <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10634) <!-- Reviewable:end -->
| * | Issue #10574 Use the document base url in imgArnaud Marant2016-04-151-1/+1
| | | | | | | | | | | | add a test with base path set to the resources path and an img with a cat and the reference directly to the image
* | | Auto merge of #10592 - canaltinova:stylesheet_with_base, r=Ms2gerbors-servo2016-04-191-12/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the document base url when resolving stylesheets Use the document base url when resolving stylesheets. Fixes #10575 . <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10592) <!-- Reviewable:end -->
| * | | Use the document base url when resolving stylesheetsNazım Can Altınova2016-04-181-12/+9
| |/ /
* | | Auto merge of #10652 - dzbarsky:reserved, r=dzbarskybors-servo2016-04-192-7/+9
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | Prevent use of reserved names in BindAttribLocation (Depend on the WebGL tests landing) <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10652) <!-- Reviewable:end -->
| * | Prevent use of reserved names in BindAttribLocationDavid Zbarsky2016-04-172-7/+9
| | |
* | | Auto merge of #10508 - g-k:insert-row, r=KiChjangbors-servo2016-04-192-9/+62
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Insert row Fixes #9269 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10508) <!-- Reviewable:end -->
| * | | Implement HTMLTableElement.insertRow()Greg Guthe2016-04-182-9/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | refs: https://github.com/servo/servo/issues/9269 and update HTMLTableElement.webidl insertRow returns an HTMLTableRowElement and throws an IndexSizeError sortable and stopSorting were removed.
* | | | Avoid generating parameter names that are Rust keywordsKeith Yeung2016-04-171-1/+8
| |/ / |/| |
* | | Auto merge of #10612 - autrilla:textdir, r=emiliobors-servo2016-04-173-76/+65
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement HTMLTextArea.setSelectionRange (continuation of #10007) Tests on `tests/wpt/web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange.html` all pass and the other tests don't panic due to double borrows anymore. cc: @KiChjang Fixes #9994. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10612) <!-- Reviewable:end -->
| * | | Implement HTMLTextArea.setSelectionRangeAlberto Corona2016-04-173-76/+65
| | | |
* | | | Use os.path.basename instead of split('/')[-1]Zbynek Winkler2016-04-171-1/+3
| | | | | | | | | | | | | | | | Fixes #10596.
* | | | Fix Document#elementFromPoint no viewport available testRizky Luthfianto2016-04-161-0/+4
| |_|/ |/| |
* | | Fix Document#elementsFromPoint no viewport available testRizky Luthfianto2016-04-161-2/+4
| | |
* | | Auto merge of #10626 - sliz1:10576, r=KiChjangbors-servo2016-04-151-2/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the document base url when resolving iframe URLs Fixes #10576. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10626) <!-- Reviewable:end -->
| * | | Use the document base url when resolving iframe URLsStephen (Ziyun) Li2016-04-151-2/+1
| |/ /
* / / Use the document base url when resolving script URLsLiamsi2016-04-151-5/+2
|/ /
* | Remove the url! plugin.Simon Sapin2016-04-142-2/+2
| | | | | | | | | | | | | | | | In rust-url 1.0 the `Url` struct is going to have private fields, and there is no way to to create an aribitrary one without going through the parser. The plugin never had a clear demonstrated performance benefit, it was made mostly because it was possible and relatively easy at the time.
* | Auto merge of #10436 - autrilla:uniform2, r=emiliobors-servo2016-04-142-122/+222
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added Uniform{2i, 2iv, 2fv, 3f, 3i, 3iv, 3fv} @emilio r? <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10436) <!-- Reviewable:end -->
| * | Added remaining uniformsAdrian Utrilla2016-04-142-122/+222
| | |
* | | Remove containing_page_pipeline_idStephen (Ziyun) Li2016-04-141-10/+1
| |/ |/|
* | Auto merge of #10566 - xudifsd:error-result, r=Ms2gerbors-servo2016-04-144-20/+20
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | replace Fallible<()> with ErrorResult Fixes #10541 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10566) <!-- Reviewable:end -->
| * | replace Fallible<()> with ErrorResultDi Xu2016-04-134-20/+20
| | |
* | | Auto merge of #10573 - jdm:xhrintermittent, r=Manishearthbors-servo2016-04-141-0/+6
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | Do not support XHR.responseXML in worker globals. Fixes #8931. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10573) <!-- Reviewable:end -->
| * | Do not support XHR.responseXML in worker globals. Fixes #8931.Josh Matthews2016-04-131-0/+6
| | |
* | | Auto merge of #10558 - frewsxcv:tr-SectionRowIndex, r=KiChjangbors-servo2016-04-133-11/+29
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement `sectionRowIndex` property on `<tr>`. Fixes https://github.com/servo/servo/issues/10509. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10558) <!-- Reviewable:end -->
| * | | Implement `sectionRowIndex` property on `<tr>`.Corey Farwell2016-04-123-11/+29
| | | | | | | | | | | | | | | | Fixes https://github.com/servo/servo/issues/10509.
* | | | Auto merge of #10512 - KiChjang:base-element-attr, r=Ms2gerbors-servo2016-04-132-3/+31
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement HTMLBaseElement attributes The remaining test failure in `base_multiple.html` looks like there's a problem with the test itself (it does not have a `<base>` tag at all). <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10512) <!-- Reviewable:end -->
| * | | Implement HTMLBaseElement attributesKeith Yeung2016-04-132-3/+31
| | | |
* | | | Use origin when manipulating cookies.Josh Matthews2016-04-131-8/+6
| | | |
* | | | Use origin for document.domain.Josh Matthews2016-04-131-3/+12
| | | |
* | | | Implement origin concept.Josh Matthews2016-04-132-9/+23
| | | |
* | | | Auto merge of #10546 - stjepang:fix-typo-in-jsrs, r=Ms2gerbors-servo2016-04-131-1/+1
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix typo: `cannot not outlive` -> `cannot outlive` A `Root` cannot outlive the `RootCollection` it is recorded in. The docs were saying otherwise. r? @jdm <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10546) <!-- Reviewable:end -->
| * | | Fix typo: `cannot not outlive` -> `cannot outlive`Stjepan Glavina2016-04-121-1/+1
| | | |
* | | | Auto merge of #10510 - frewsxcv:rowindex, r=KiChjangbors-servo2016-04-133-1/+31
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement `rowIndex` property on `<tr>`. Part of https://github.com/servo/servo/issues/10509. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10510) <!-- Reviewable:end -->
| * | | | Implement `rowIndex` property on `<tr>`.Corey Farwell2016-04-123-1/+31
| | | | | | | | | | | | | | | | | | | | Part of https://github.com/servo/servo/issues/10509.