aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
Commit message (Collapse)AuthorAgeFilesLines
* Implement ScrollTop and ScrollLeft getters:Zhen Zhang2016-04-195-2/+138
| | | | | | | | 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.
* 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-174-79/+127
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-174-79/+127
| | |
* | | 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
|/ /
* | Auto merge of #10587 - asajeffrey:add-failure-panic-message, r=Manishearthbors-servo2016-04-141-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added panic message to failures. Added the panic message to failures. This is a step towards #10334, since it gives us access to the panic error message when we fire a `mozbrowsererror` event. The remaining steps are also to record the backtrace, and to report the failure in the event. <!-- 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/10587) <!-- Reviewable:end -->
| * | Added panic message to failures.Alan Jeffrey2016-04-131-2/+2
| | |
* | | Remove the url! plugin.Simon Sapin2016-04-143-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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 #10565 - saurvs:master, r=Ms2gerbors-servo2016-04-131-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update to byteorder 0.5 Finishes https://github.com/servo/servo/issues/10437. <!-- 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/10565) <!-- Reviewable:end -->
| * | | Update to byteorder 0.5Saurav Sachidanand2016-04-131-1/+1
| | | |
* | | | 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-134-9/+97
| |_|/ / |/| | |
* | | | 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.
* | | | | Auto merge of #10545 - amarant:unreachable-codegen, r=Ms2gerbors-servo2016-04-131-16/+0
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | remove unreachable code in codegen code is unreachable after return, and identical to the upper block <!-- 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/10545) <!-- Reviewable:end -->
| * | | | remove unreachable code in codegenArnaud Marant2016-04-121-16/+0
| | |_|/ | |/| | | | | | | | | | code is unreachable after return, and identical to the upper block
* | | | Auto merge of #10538 - izgzhen:performance_timing, r=Ms2gerbors-servo2016-04-134-12/+43
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve PerformanceTiming Interface Solving https://github.com/servo/servo/issues/10428 - Fix timing precision in old `update_with_current_time` - Correct time unit in `navigation_start` - Add `LoadEventStart` and `LoadEventEnd` timing properties There are still many properties left unimplemented. I tend to leave the for future PRs. Welcome comments! <!-- 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/10538) <!-- Reviewable:end -->
| * | | | fix performance timing precision and navigation_start unit; add ↵Zhen Zhang2016-04-134-12/+43
| | | | | | | | | | | | | | | | | | | | LoadEventStart and LoadEventEnd timing
* | | | | Auto merge of #10543 - jdm:imageload, r=jdmbors-servo2016-04-132-20/+57
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement image request concept for HTMLImageElement. Implement HTMLI… …mageElement.currentSrc. <!-- 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/10543) <!-- Reviewable:end -->
| * | | | Implement image request concept for HTMLImageElement. Implement ↵akhan72016-04-122-20/+57
| | |/ / | |/| | | | | | | | | | HTMLImageElement.currentSrc.
* / | | Implement the table section IDL attributes for HTML tablesYoav Alon2016-04-122-8/+155
|/ / /
* | | Auto merge of #10523 - frewsxcv:cssom-htmlimageelement-extension, r=Ms2gerbors-servo2016-04-121-0/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add CSSOM 'Extensions to the HTMLImageElement Interface' in WebIDL. <!-- 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/10523) <!-- Reviewable:end -->
| * | | Add CSSOM 'Extensions to the HTMLImageElement Interface' in WebIDL.Corey Farwell2016-04-111-0/+6
| | | |
* | | | Auto merge of #10379 - dzbarsky:getActiveAttrib, r=emiliobors-servo2016-04-123-1/+23
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement GetActiveAttrib @emilio <!-- 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/10379) <!-- Reviewable:end -->
| * | | | Implement GetActiveAttribDavid Zbarsky2016-04-113-1/+23
| | |/ / | |/| |
* | | | Auto merge of #10535 - frewsxcv:hr-align, r=mbrubeckbors-servo2016-04-122-1/+8
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | Implement 'align' IDL attribute on '<hr>'. <!-- 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/10535) <!-- Reviewable:end -->
| * | | Implement 'align' IDL attribute on '<hr>'.Corey Farwell2016-04-112-1/+8
| |/ /
* | | Auto merge of #10522 - KiChjang:input-cleanup, r=frewsxcvbors-servo2016-04-123-64/+53
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Various cleanups in HTMLInputElement <!-- 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/10522) <!-- Reviewable:end -->
| * | | Remove get_ prefix for functions in LayoutHTMLInputElementHelpersKeith Yeung2016-04-112-16/+16
| | | |