aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/dom_traversal.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Temporarily allow PseudoElementContentItem unused variantFernando Jiménez Moreno2020-02-251-0/+1
|
* Generate ::before and ::after content from attr() for layout 2020Fernando Jiménez Moreno2020-02-251-10/+23
|
* Generate ::before and ::after string content for layout 2020Fernando Jiménez Moreno2020-02-251-11/+35
|
* Use euclid data types for physical structs in layout_2020Martin Robinson2020-01-231-8/+4
| | | | | This removes a bit of duplication and allows layout_2020 to benefit from a much richer set of utilities.
* Fix an issue with `unset_boxes_in_subtree` in layout_2020Martin Robinson2020-01-211-0/+5
| | | | | | | If the root node of the subtree doesn't have any boxes to unset, we should exit early instead of unsetting boxes on siblings of the root. This eliminates an infinite loop in this method, since the siblings of the root are not in the subtree.
* Store an OpaqueNode in boxes and fragmentsAnthony Ramine2019-12-131-3/+5
|
* Remove the Node type parameter from ContentsAnthony Ramine2019-12-131-25/+29
| | | | We now pass the Node as an argument during DOM traversal in layout.
* Add NodeExt::as_opaqueAnthony Ramine2019-12-131-1/+6
|
* Don’t assume replaced elements have an intrinsic sizeSimon Sapin2019-12-101-8/+10
|
* Finish plumbing intrinsic min/max-content through box constructionSimon Sapin2019-12-031-2/+1
|
* Add box construction for 'inline-block'…Simon Sapin2019-12-031-0/+11
| | | | … and other atomic inline-level boxes.
* Pass a LayoutContext through box constructionSimon Sapin2019-12-021-12/+13
|
* Un-allow and fix warnings in `components/layout_2020`Simon Sapin2019-12-021-2/+1
|
* Start supporting images in layout 2020Anthony Ramine2019-12-011-5/+28
|
* Make NodeExt private in layout_2020Anthony Ramine2019-11-261-1/+1
|
* Rename Arc to ServoArc in layout_2020::dom_traversalAnthony Ramine2019-11-261-10/+10
|
* Make IndependentFormattingContext a struct that owns stylesSimon Sapin2019-11-261-1/+1
| | | | | | | | … and has a private enum for its contents. Privacy forces the rest of the code to go through methods rather than matching on the enum, reducing accidental layout-mode-specific behavior.
* Fix a ridiculous bug in layout-2020Anthony Ramine2019-10-251-1/+4
| | | | Who needs CI anyway?
* Make some of layout_2020 privateSimon Sapin2019-10-041-5/+5
|
* Call BoxTreeRoot::construct from layout_thread_2020Anthony Ramine2019-10-041-5/+5
|
* Handle anonymous style in traverse_pseudo_element_contentsAnthony Ramine2019-09-231-22/+32
|
* Handle anonymous style in end_inline_formatting_contextAnthony Ramine2019-09-231-2/+2
|
* Cheat the system and use an Arc in BoxSlotAnthony Ramine2019-09-191-34/+40
| | | | | | Ideally we want to be able to borrow from the DOM during box construction but that's not playing very well at the moment with the current bridge between script and layout.
* Import victor's layout system 🍷Anthony Ramine2019-09-111-175/+213
|
* Import files from VictorSimon Sapin2019-09-111-0/+344
https://github.com/SimonSapin/victor/tree/fdb11f3e87f6d2d59170d10169fa6deb94e53b94