aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/node.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Add ImmutableOrigin to allow for serializing originsConnor Brewster2017-02-221-1/+1
|
* Bug 1336646 - Apply selector flags during traversal. r=emilioBobby Holley2017-02-081-3/+3
|
* Allow windows to share browsing contexts.Alan Jeffrey2017-01-281-2/+2
|
* The constellation notifies the script thread about documents becoming ↵Alan Jeffrey2017-01-271-1/+3
| | | | inactive, active and fully active.
* script: Rename bounding_content_box to bounding_content_box_or_zero.Emilio Cobos Álvarez2017-01-181-2/+5
| | | | And make bounding_content_box preserve whether the element is rendered.
* layout: Expose whether the element was rendered in content_box_query to script.Emilio Cobos Álvarez2017-01-171-1/+5
| | | | But don't change the API yet.
* Auto merge of #14647 - servo:current-global, r=jdmbors-servo2016-12-291-0/+2
|\ | | | | | | | | | | | | | | Support the 'current' global object. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14647) <!-- Reviewable:end -->
| * Pass the Document's origin to its constructor.Ms2ger2016-12-231-0/+2
| | | | | | | | CC #10963.
* | script: Simplify Node::collect_text_contents.Emilio Cobos Álvarez2016-12-251-3/+2
|/
* script: Remove unused function.Emilio Cobos Álvarez2016-12-221-4/+0
|
* Expose Quirks Mode information in the style shared context r=emilioJulien Wajsberg2016-12-171-1/+1
|
* Auto merge of #14549 - frewsxcv:child-text-content, r=Ms2gerbors-servo2016-12-151-0/+5
|\ | | | | | | | | | | | | | | Implement "child text content" concept; use it where appropriate. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14549) <!-- Reviewable:end -->
| * Implement "child text content" concept; use it where appropriate.Corey Farwell2016-12-151-0/+5
| |
* | Remove HeapGCValueAnthony Ramine2016-12-121-9/+9
|/ | | | | | It could be used to have mutable JSVal fields without GC barriers. With the removal of that trait, MutHeap and MutNullableHeap can respectively be replaced by MutJS and MutNullableJS.
* Rename `Reflectable` to `DomObject`.Corey Farwell2016-12-081-5/+5
| | | | Fixes https://github.com/servo/servo/issues/8473.
* Mark JSTraceable and its method as unsafeAnthony Ramine2016-12-061-1/+1
|
* Refactor the locate a namespace algorithmAnthony Ramine2016-12-011-60/+10
|
* Make Attr::prefix return an Option<&Prefix>Anthony Ramine2016-12-011-3/+3
|
* Make Element::prefix return an Option<&DOMString>Anthony Ramine2016-12-011-3/+3
|
* Refactor fragment parsingAnthony Ramine2016-12-011-14/+0
|
* Bug 1317016 - Basic infrastructure for RestyleHint-driven traversal.Bobby Holley2016-11-241-12/+1
| | | | MozReview-Commit-ID: 7wH5XcILVmX
* Use selectors::SelectorListSimon Sapin2016-11-221-5/+5
|
* Remove SelectorImpl aliasesSimon Sapin2016-11-221-3/+3
|
* Update to selectors 0.15Simon Sapin2016-11-221-7/+6
|
* Rename selector_impl.rs to selector_parser.rsSimon Sapin2016-11-201-1/+1
| | | | This makes it consistent with an upcoming update of the selectors crate.
* Remove redundant url clonesPu Xingyu2016-11-181-1/+1
| | | | | They are now redundant since now document.url() returns a struct rather than a reference.
* Auto merge of #14246 - emilio:servo-url, r=SimonSapinbors-servo2016-11-171-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Urlmageddon <!-- Please describe your changes on the following line: --> Still needs a bunch of code in net to be converted in order to get more advantage of this for images and stuff, but meanwhile this should help quite a bit with #13778. Still wanted to get this in. r? @SimonSapin <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14246) <!-- Reviewable:end -->
| * Urlmageddon: Use refcounted urls more often.Emilio Cobos Álvarez2016-11-171-3/+3
| |
* | Auto merge of #14214 - bholley:dirtiness_overhaul, r=emiliobors-servo2016-11-171-37/+14
|\ \ | | | | | | | | | | | | | | | | | | | | | Overhaul dirtiness handling in Servo to prepare for the new incremental restyle architecture <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14214) <!-- Reviewable:end -->
| * | Prevent nodes from having DIRTY_DESCENDANTS set by default.Bobby Holley2016-11-171-2/+5
| | |
| * | Eliminate HAS_CHANGED in favor of explicit RestyleDamage.Bobby Holley2016-11-161-11/+1
| | |
| * | Track all node damage with PendingRestyles.Bobby Holley2016-11-161-25/+9
| | |
* | | Auto merge of #14096 - ↵bors-servo2016-11-171-1/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fflorent:11485-make-dom-methods-taking-mut-JSContent-unsafe, r=nox 11485 make dom methods taking mut js content unsafe This is a rebased version of PR #11595 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #11485 <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because: no code logic was changed <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14096) <!-- Reviewable:end -->
| * | script creates methods taking '*mut JSContext' unsafeAbelardo E. Mendoza2016-11-141-1/+1
| | | | | | | | | | | | rebase + marked the necessary new code as unsafe
* | | Support basic immutable CSSOMManish Goregaokar2016-11-151-0/+30
| |/ |/|
* | Reorganise ServoParserAnthony Ramine2016-11-141-2/+2
|/ | | | | | Free-standing fonctions parse_html and friends are now static methods on ServoParser, and the HTML and XML tokenizers have been moved to private submodules.
* Auto merge of #14027 - frewsxcv:htmlcollection-iter-refactor, r=emiliobors-servo2016-11-031-13/+14
|\ | | | | | | | | | | | | | | Remove unnecessary `Box` around `HTMLCollectionElementsIter::node_iter`. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14027) <!-- Reviewable:end -->
| * Remove unnecessary `Box` around `HTMLCollectionElementsIter::node_iter`.Corey Farwell2016-11-021-13/+14
| |
* | Auto merge of #13965 - ↵bors-servo2016-11-031-0/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | asajeffrey:script-iframe-check-document-browsing-context, r=Ms2ger Check that an iframe is in a document with a browsing context before processing src <!-- Please describe your changes on the following line: --> Check that an iframe is in a document with a browsing context before processing src. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #13964. - [X] These changes do not require tests because this is already tested by https://github.com/servo/servo/blob/master/tests/wpt/web-platform-tests/old-tests/submission/Opera/script_scheduling/034.html <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13965) <!-- Reviewable:end -->
| * | Check that an iframe is in a document with a browsing context before ↵Alan Jeffrey2016-11-031-0/+4
| |/ | | | | | | processing src.
* / Update to string-cache 0.3Simon Sapin2016-11-031-12/+15
|/
* Drop style data from descendants on display:none.Bobby Holley2016-11-011-0/+9
| | | | MozReview-Commit-ID: 8ls43oAGWRg
* Eliminate untraversed node types from LayoutNodeType.Bobby Holley2016-10-271-10/+1
| | | | MozReview-Commit-ID: 926ReI1BSsf
* Auto merge of #13703 - Rafagd:my_changes, r=Ms2gerbors-servo2016-10-141-2/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replacing Node.rootNode for Node.getRootNode. - Changed the specification for the Node element to reflect the new standard. - Changed the implementation of the NodeMethod. I'm still waiting for some answers for the questions I've posted on #13699, but I'm already doing the pull request so I can get some feedback as well. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #13699 (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13703) <!-- Reviewable:end -->
| * Replacing Node.prototype.rootNode for Node.prototype.getRootNode.Rafael Gomes Dantas2016-10-131-2/+3
| |
* | Remove intrinsic Root::r()Anthony Ramine2016-10-111-27/+28
|/
* Merge script::parse and script::dom::servoparserAnthony Ramine2016-10-111-1/+1
|
* Auto merge of #13589 - splav:SVGElement#12974, r=pcwalton,Ms2gerbors-servo2016-10-071-3/+13
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support SVG element <!-- Please describe your changes on the following line: --> minimal SVG element implementation --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #12974 (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13589) <!-- Reviewable:end -->
| * add SVGElement, SVGGraphicsElement interfaces and SVGSVGElement elementAlexandrov Sergey2016-10-061-3/+13
| |
* | Make reflect_dom_object take a &GlobalScopeAnthony Ramine2016-10-061-7/+9
|/