servo/components/style
bors-servo ece35f9caa Auto merge of #17581 - mbrubeck:incremental, r=pcwalton
Fix incremental layout bugs for absolute and cleared elements

Fixes #17307.  <del>There were two underlying bugs:</del>

* <del>Nodes were not marked dirty when their style attribute changed.</del>

* BaseFlow flags set during flow construction could get out of sync with the element's style if repair_style was called.

---

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #17307
- [x] There are tests for these changes

<!-- 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/17581)
<!-- Reviewable:end -->
2017-06-30 22:15:26 -07:00
..
counter_style Introduce Separator::parse 2017-06-27 23:37:44 +02:00
gecko stylo: Implement -moz-prefixed radial gradients 2017-06-30 17:54:01 -07:00
gecko_bindings Make text-shadow and box-shadow use SimpleShadow 2017-06-28 16:28:25 +02:00
gecko_string_cache style: Clean up after #17427. 2017-06-20 15:42:23 +02:00
invalidation style: Look at XBL stylists to collect dependencies too. 2017-06-28 16:02:10 -07:00
properties Move Position::parse_legacy logic to LegacyPosition type 2017-06-30 17:54:04 -07:00
rule_tree Move match and cascade temporaries to CurrentElementInfo 2017-06-22 15:47:32 -05:00
servo Reconstruct flows if the 'clear' property changes. 2017-06-30 17:11:30 -07:00
sharing Move match and cascade temporaries to CurrentElementInfo 2017-06-22 15:47:32 -05:00
stylesheets style: Assert we never style a root element from another document. 2017-06-21 19:55:02 +02:00
values Move Position::parse_legacy logic to LegacyPosition type 2017-06-30 17:54:04 -07:00
animation.rs Move match and cascade temporaries to CurrentElementInfo 2017-06-22 15:47:32 -05:00
applicable_declarations.rs Hoist ApplicableDeclaration{Block,List} into a separate file. 2017-06-12 12:13:21 -07:00
attr.rs Untry style 2017-06-18 13:18:13 +02:00
bezier.rs Bump euclid to 0.14. 2017-06-14 16:00:59 +02:00
bloom.rs Be smarter when clearing the bloom filter. 2017-06-21 19:53:16 -07:00
build.rs Auto merge of #16935 - servo:out-of-crate-bindings-tests, r=emilio 2017-05-19 03:48:14 -05:00
build_gecko.rs style: Update bindgen. 2017-06-21 01:27:14 +02:00
cache.rs Adapt LRUCache to use ArrayDeque crate instead of VecDeque 2017-06-03 20:59:01 +02:00
Cargo.toml Bump cssparser version to 0.16.1 in toml files 2017-06-22 15:44:03 -07:00
cascade_info.rs Remove style::values::HasViewportPercentage reexport 2017-05-20 22:00:05 +02:00
context.rs Implement :visited handling for lazy pseudo-elements in stylo. 2017-06-29 16:22:13 -07:00
custom_properties.rs Derive Eq and PartialEq for CustomPropertiesMap 2017-06-28 19:50:29 -07:00
data.rs Use an Arc for eager pseudo styles. 2017-06-23 16:19:06 -07:00
dom.rs style: Refactor XBL rule matching to add another API to iterate the Stylists. 2017-06-28 16:02:08 -07:00
element_state.rs Bug 1348489 - stylo: Implement :-moz-window-inactive. 2017-06-30 09:31:01 -07:00
encoding_support.rs Bug 1331291 part 1 - Set stylesheet url_data correctly for import rule. 2017-06-13 10:07:06 +10:00
error_reporting.rs Upgrade cssparser to 0.15 2017-06-16 15:05:46 +02:00
font_face.rs Introduce Separator::parse 2017-06-27 23:37:44 +02:00
font_metrics.rs stylo: Use gecko's font metrics 2017-04-10 14:29:51 +08:00
lib.rs remove various things now that Rust 1.17 is required 2017-06-23 10:39:41 -04:00
logical_geometry.rs Untry style 2017-06-18 13:18:13 +02:00
macros.rs Introduce ToAnimatedValue 🎥 2017-06-29 14:03:15 +02:00
matching.rs Make sure to compute visited style if our parent has visited style. 2017-06-29 22:26:14 -07:00
media_queries.rs Untry style 2017-06-18 13:18:13 +02:00
parallel.rs Bug 1368302 - stylo: possible stack overflow when processing very deep DOM. r=bholley. 2017-06-29 22:56:38 +02:00
parser.rs Introduce CommaWithSpace 2017-06-27 23:37:48 +02:00
README.md
scoped_tls.rs Reduce the size of top_down_dom stackframes. 2017-06-08 13:02:36 -04:00
selector_map.rs Account for left-to-right rather than right-to-left precedence of classes in selector maps. 2017-06-20 11:59:12 -07:00
selector_parser.rs Thread ParseError return values through CSS parsing. 2017-06-09 16:46:25 -04:00
sequential.rs style: Distinguish between the tree structures used for traversal and selector matching. 2017-06-09 18:37:35 +08:00
shared_lock.rs remove various things now that Rust 1.17 is required 2017-06-23 10:39:41 -04:00
str.rs Support vendor prefix keyframes rule. 2017-04-21 12:18:12 +09:00
style_adjuster.rs style: Be more strict when setting the root font size. 2017-06-21 13:28:57 +02:00
stylesheet_set.rs Add an update_stylesheet method to StylesheetSet. 2017-06-20 12:24:39 -07:00
stylist.rs Implement :visited handling for lazy pseudo-elements in stylo. 2017-06-29 16:22:13 -07:00
thread_state.rs Tidy up rust code with regard to new rule (no = in beginning of line) 2017-01-06 20:57:16 +01:00
timer.rs style: Document the timer module. 2016-12-31 12:17:04 +01:00
traversal.rs style: Cleanup traversal.rs 2017-06-26 22:48:17 +02:00

servo-style

Style system for Servo, using rust-cssparser for parsing.