aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/node.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Move TrustedNodeAddress to script_layout_interface.Ms2ger2016-06-201-12/+1
|
* Introduce LayoutJS<Node>::opaque() to replace ↵Ms2ger2016-06-201-0/+9
| | | | OpaqueNodeMethods::from_jsmanaged().
* Move HTMLCanvasData to script_layout_interface.Ms2ger2016-06-201-2/+2
|
* Introduce LayoutNodeType and LayoutElementType enums.Ms2ger2016-06-201-2/+56
|
* Move OpaqueStyleAndLayoutData to script_layout_interface.Ms2ger2016-06-201-13/+1
|
* Make OpaqueStyleAndLayoutData::dispose a method on Node.Ms2ger2016-06-201-10/+8
|
* script: When using WebRender, keep the DOM-side scroll positions forPatrick Walton2016-06-101-1/+5
| | | | | | | elements with `overflow: scroll` up to date, and take them into account when doing hit testing. Closes #11648.
* Update Rust to 1.11.0-nightly (ec872dc8a 2016-06-07)Anthony Ramine2016-06-081-3/+3
|
* Move the definition of ServoThreadSafeLayoutNode::iframe_pipeline_id to script.Ms2ger2016-06-071-0/+9
|
* Move the definition of ServoThreadSafeLayoutNode::canvas_data to script.Ms2ger2016-06-071-0/+7
|
* Move the definition of ServoThreadSafeLayoutNode::image_url to script.Ms2ger2016-06-071-0/+12
|
* Move the definition of ServoThreadSafeLayoutNode::selection to script.Ms2ger2016-06-071-0/+15
|
* Remove JS::from_rootedAnthony Ramine2016-05-311-3/+3
|
* use USVStrings instead of DOMString for urls in Node and DocumentThiago Pontes2016-05-281-4/+5
|
* Auto merge of #11472 - jdm:wip, r=mbrubeckbors-servo2016-05-271-2/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Report blank lines that follow an open brace This automates something that I find myself frequently commenting on in PRs. --- <!-- 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] There are tests for these changes OR <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11472) <!-- Reviewable:end -->
| * Remove empty lines following braces.Josh Matthews2016-05-271-2/+0
| |
* | Remove the LayoutChan type.Ms2ger2016-05-271-3/+2
|/ | | | It is a pointless abstraction.
* Move DOMString back to scriptAnthony Ramine2016-05-241-1/+1
| | | | This entirely removes the 'non-geckolib' feature of the util crate.
* Removed unused importsPer Lundberg2016-05-151-2/+0
| | | | This fixes #11185.
* Make Node::BaseURI use the document's base URLmrmiywj2016-05-141-1/+1
| | | | update expectations
* Move some code from ServoThreadSafeLayoutNode::text_content into script.Ms2ger2016-05-091-1/+22
|
* Upgrade to bitflags 0.6.0 and selectors 0.5.6Matt Brubeck2016-04-301-1/+1
| | | | | Types generated by `bitflags!` are now private by default. This PR marks them `pub` where necessary.
* Reduce channel cloning.Ms2ger2016-04-291-1/+1
|
* Implements Node::isSameNodeArnaud Marant2016-04-231-0/+8
| | | | | | Fixes #10746 Adapted the tests from dom/nodes/Node-isEqualNode.html
* Implement Node::rootNodeLéo Stefanesco2016-04-221-0/+5
|
* Implement ScrollTop and ScrollLeft getters:Zhen Zhang2016-04-191-0/+6
| | | | | | | | 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.
* Extract out 'is the html body element' CSSOM concept.Corey Farwell2016-04-111-6/+2
|
* Simplify PrecedingNodeIterator::next().Ms2ger2016-04-111-25/+11
|
* Update uuid.Ms2ger2016-04-071-1/+1
|
* Remove `get_*` on getters as per RFC 0344.Corey Farwell2016-03-311-15/+15
| | | | | | https://github.com/rust-lang/rfcs/blob/master/text/0344-conventions-galore.md#gettersetter-apis https://github.com/servo/servo/issues/6224
* Store the encoding in the Document rather than its name.Ms2ger2016-03-181-1/+1
|
* Add scrollWidth/Height to element interfaceDaniel Robertson2016-03-111-0/+41
| | | | | Add the scrollWidth and scrollHeight extensions to the element interface.
* Refactor mouseover code to be more performantEmilio Cobos Álvarez2016-03-021-1/+5
| | | | This increases mouseover/out performance drastically on my machine.
* script: Fix remaining bugs from Range.deleteContentsEmilio Cobos Álvarez2016-02-281-9/+25
|
* Completed implementation of devtools' `getLayout`.benshu2016-02-241-1/+0
|
* Dirty elements whose selectors are affected by sibling changesMatt Brubeck2016-02-231-0/+48
| | | | | | | | | | | | | This fixes incremental layout of nodes that match pseudo-class selectors such as :first-child, :nth-child, :last-child, :first-of-type, etc. * Fixes #8191 * Fixes #9063 * Fixes #9303 * Fixes #9448 This code is based on the following flags from Gecko: https://hg.mozilla.org/mozilla-central/file/e1cf617a1f28/dom/base/nsINode.h#l134
* Auto merge of #9603 - Ms2ger:document-bc, r=jdmbors-servo2016-02-191-1/+2
|\ | | | | | | | | | | | | | | Store a pointer to the browsing context in the Document. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9603) <!-- Reviewable:end -->
| * Store a pointer to the browsing context in the Document.Ms2ger2016-02-111-1/+2
| |
* | Auto merge of #9526 - schuster:node-remove, r=noxbors-servo2016-02-191-3/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | My updates so far for issue #8465. See comments there for more information. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9526) <!-- Reviewable:end -->
| * | Move comment about removing stepsJonathan Schuster2016-02-131-2/+1
| | |
| * | Update node::remove comments to reflect standardJonathan Schuster2016-02-131-3/+7
| | |
* | | fix Node-isEqualNode.html test failurePrabhjyot Singh Sodhi2016-02-161-1/+1
|/ /
* / Bump heapsize to 0.3Anthony Ramine2016-02-131-1/+1
|/
* Fix #9508: Beautify our union enums constructorsAlexander Lopatin2016-02-071-1/+1
|
* Say farewell to in-tree HeapSizeOfAnthony Ramine2016-02-041-1/+1
|
* Abstract out Node::unique_id in its own structureAnthony Ramine2016-02-041-9/+42
| | | | An UnsafeCell is use to lazily create the Uuid.
* Update rust-selectorsEmilio Cobos Álvarez2016-02-031-2/+3
| | | | | This commits updates rust-selectors to use the generic parser, and as such it moves the element state into the style crate.
* Sequentialize assign_block_size for flows that can be fragmented.Simon Sapin2016-01-281-1/+1
| | | | Fragmentation will be intertwined with block size calculation.
* Disable incremental reflow for multicol and their descendants.Simon Sapin2016-01-271-0/+3
| | | | Fragmentation with dynamic updates is hard.
* task -> threadrohan.prinja2016-01-101-5/+5
|