aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
Commit message (Collapse)AuthorAgeFilesLines
* replace Fallible<()> with ErrorResultDi Xu2016-04-134-20/+20
|
* 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.
* | | 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
| | | |
| * | | Rename fn get_form_datum to form_datumKeith Yeung2016-04-112-2/+2
| | | |
| * | | Move check for mutability up as a guard clauseKeith Yeung2016-04-111-22/+19
| | | |
| * | | Rename fn mutable to is_mutableKeith Yeung2016-04-111-6/+6
| | | |
| * | | Use fn in_same_group where appropriateKeith Yeung2016-04-111-6/+2
| | | |
| * | | Rename get_radio_group_name to radio_group_nameKeith Yeung2016-04-111-8/+8
| | | |
| * | | Remove unused fn get_indeterminate_stateKeith Yeung2016-04-111-4/+0
| | | |
| * | | Rename get_value_mode to value_modeKeith Yeung2016-04-111-5/+5
| |/ /
* | | Auto merge of #10505 - amarant:10491-HTMLInputElement-attr, r=KiChjangbors-servo2016-04-122-10/+71
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #10491 add HTMLInputElement attributes that reflect content ide… …ntically it uses a new version of string-cache https://github.com/servo/string-cache/pull/148 <!-- 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/10505) <!-- Reviewable:end -->
| * | | Issue #10491 add HTMLInputElement attributes that reflect content identicallyArnaud Marant2016-04-122-10/+71
| | | | | | | | | | | | | | | | it uses a new version of string-cache https://github.com/servo/string-cache/pull/148
* | | | Auto merge of #10224 - emilio:shader-type-validations, r=jdmbors-servo2016-04-123-12/+37
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | webgl: Add attribute validations and other nits Fixes https://github.com/servo/servo/issues/9958 Depends on a bunch of prs, and needs a test. 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/10224) <!-- Reviewable:end -->
| * | | | webgl: Make the api return the context limits and use them for validationsEmilio Cobos Álvarez2016-04-033-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows keeping the VertexAttrib* calls asynchronous. Another option would be to do the validation in the apply() function, but that'd require us passing an unnecessary channel around and add extra synchronization. The counterpart of this is that it has to be updated when the context changes, but that's less problem.
| * | | | webgl: Remove unneeded return value.Emilio Cobos Álvarez2016-04-031-1/+4
| | | | |
| * | | | webgl: Use early return in DrawArraysEmilio Cobos Álvarez2016-04-031-6/+6
| | | | |
| * | | | webgl: Validate shader type parameter to CreateShader.Emilio Cobos Álvarez2016-04-031-0/+7
| | | | |
* | | | | Implement flexbox reorderingDaniel Robertson2016-04-111-0/+1
| |/ / / |/| | | | | | | | | | | | | | | Add style property for order and implement reordering by this property in flex flow. Based on previous work by @zentner-kyle.
* | | | Auto merge of #10485 - ConnorGBrewster:navigator_plugins, r=Ms2gerbors-servo2016-04-1111-1/+312
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement stub for NavigatorPlugins This PR implements stub for NavigatorPlugins as outlined in #9991. 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/10485) <!-- Reviewable:end -->
| * | | | Implemented stub for NavigatorPluginsConnor Brewster2016-04-1111-1/+312
| | | | |
* | | | | Auto merge of #10513 - frewsxcv:is_the_html_body_element, r=Ms2gerbors-servo2016-04-112-6/+12
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extract out 'is the html body element' CSSOM concept. <!-- 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/10513) <!-- Reviewable:end -->
| * | | | | Extract out 'is the html body element' CSSOM concept.Corey Farwell2016-04-112-6/+12
| | |_|/ / | |/| | |
* | | | | Auto merge of #10519 - frewsxcv:links, r=KiChjangbors-servo2016-04-111-5/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update 'Extensions to the HTMLElement Interface' CSSOM spec links. <!-- 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/10519) <!-- Reviewable:end -->
| * | | | | Update 'Extensions to the HTMLElement Interface' CSSOM spec links.Corey Farwell2016-04-111-5/+5
| |/ / / /
* | | | | Auto merge of #10502 - KiChjang:fix-open-url-base, r=Ms2gerbors-servo2016-04-112-1/+12
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add API base url method to global objects This adds an `api_base_url` function to global objects, which fixes `open-url-base.htm` under XMLHttpRequest. <!-- 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/10502) <!-- Reviewable:end -->
| * | | | Add API base url method to global objectsKeith Yeung2016-04-112-1/+12
| | | | |
* | | | | Use upcast() in XMLDocument methods.Ms2ger2016-04-111-3/+3
| | | | |
* | | | | Remove unused import from xmldocument.Ms2ger2016-04-111-1/+0
| | | | |
* | | | | Simplify PrecedingNodeIterator::next().Ms2ger2016-04-111-25/+11
| | | | |
* | | | | Implement Clone for Root.Ms2ger2016-04-111-0/+6
| | | | |