servo/components/style
bors-servo d5913035ec Auto merge of #12981 - splav:inline_reconstruct#12602, r=notriddle
Inline reconstruct#12602

<!-- Please describe your changes on the following line: -->
This PR fixes two different issues:
1) In non-incremental layout mode if the inline node hasn't changes - the style pass was skipped, that leads to the corresponding ConstructionResult was not produced. When the parent was rebuilt, the child without the ConstructionResult was omited.
2) When the opacity was changed (or other style change, causing only repaint) for image (and others, producing only ConstructionItem) the damage is calculated only from children's flows, not from individual fragments. So for now, let's pretend we've newly constructed the ConstructionItem and thus need to rebuild the parent's flow.

---
<!-- 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 #12602 (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/12981)
<!-- Reviewable:end -->
2016-08-23 15:43:56 -05:00
..
generated stylo: Regenerate the world. 2016-08-15 22:58:32 -07:00
properties Review fixups 2016-08-22 22:45:16 +05:30
values Auto merge of #12878 - Manishearth:clip-path, r=heycam 2016-08-19 14:24:08 -05:00
animation.rs Merge normal and important declarations in style rules. 2016-08-21 03:40:35 +02:00
attr.rs Replace the SelectorImplExt trait with inherent methods. 2016-08-09 18:17:13 +02:00
bezier.rs Move util::bezier to style 2016-02-14 19:45:24 +01:00
build.rs Detect python2.7.exe on windows 2016-07-08 18:50:59 +10:00
cache.rs Lazily compute common style affecting attribute info. 2016-08-17 14:17:44 -07:00
Cargo.toml Make Position a gecko-only vector longhand 2016-08-22 22:42:40 +05:30
cascade_info.rs style: Introduce a generic way of gathering information from the cascade, and use it for viewport units. 2016-08-16 10:58:16 -07:00
context.rs Tidy up, make the cache a bit more performant. 2016-08-17 14:16:20 -07:00
custom_properties.rs style: Introduce a generic way of gathering information from the cascade, and use it for viewport units. 2016-08-16 10:58:16 -07:00
data.rs stylo: Don't traverse the whole dom every restyle, propagate the dirty flag down the DOM. 2016-07-24 12:51:58 -07:00
dom.rs Import SelectorMap back from the selectors crate. 2016-08-21 03:40:30 +02:00
element_state.rs Issue 7720: Add target selector and update when scrolling to fragment 2016-08-03 13:23:10 +01:00
error_reporting.rs Add some documentation to the style crate. 2016-06-27 17:33:14 +02:00
font_face.rs Add some documentation to the style crate. 2016-06-27 17:33:14 +02:00
gecko_conversions.rs Handle clip-path in stylo 2016-08-19 23:36:37 +05:30
gecko_selector_impl.rs Move the user agent and user stylesheets to layout_thread. 2016-08-23 15:33:47 +02:00
gecko_values.rs Handle clip-path in stylo 2016-08-19 23:36:37 +05:30
keyframes.rs Merge normal and important declarations in style rules. 2016-08-21 03:40:35 +02:00
lib.rs Auto merge of #12945 - Manishearth:bgarray, r=SimonSapin 2016-08-22 22:09:23 -05:00
logical_geometry.rs Update to euclid 0.8 2016-08-12 03:12:06 +02:00
matching.rs Auto merge of #12962 - ashrko619:cache-element-classnames, r=notriddle 2016-08-22 01:22:04 -05:00
media_queries.rs Update to euclid 0.8 2016-08-12 03:12:06 +02:00
parallel.rs Rewrite the style sharing candidate cache. 2016-08-17 14:16:16 -07:00
parser.rs Add ShapeSource to basic-shape values 2016-08-18 11:38:33 +05:30
README.md docs: Add style overview. 2016-05-04 00:34:03 +02:00
refcell.rs Add commit hash to be reverted in FIXME comment. 2016-06-23 16:14:33 +02:00
restyle_hints.rs Update selectors to 0.11 2016-08-20 11:24:17 +02:00
selector_impl.rs style: Fix pseudo-element restyling. 2016-08-10 18:26:25 -07:00
selector_matching.rs Move the user agent and user stylesheets to layout_thread. 2016-08-23 15:33:47 +02:00
sequential.rs Rewrite the style sharing candidate cache. 2016-08-17 14:16:16 -07:00
servo_selector_impl.rs Move the user agent and user stylesheets to layout_thread. 2016-08-23 15:33:47 +02:00
sink.rs Move util::vec::ForgetfulSink to style::sink and simplify it 2016-07-04 16:48:14 +02:00
str.rs Move util::str to style 2016-07-05 10:43:54 +02:00
stylesheets.rs Move the user agent and user stylesheets to layout_thread. 2016-08-23 15:33:47 +02:00
thread_state.rs Move thread_state to style. 2016-08-22 16:08:56 +02:00
tid.rs Move util::tid to style 2016-07-05 10:36:38 +02:00
timer.rs style: Add a new Timer structure to the shared style context, and basic infrastructure for controlling animations. 2016-07-20 09:05:53 -07:00
traversal.rs force style calculation/element construction for non-incremental mode 2016-08-23 01:45:18 +03:00
viewport.rs Update to euclid 0.8 2016-08-12 03:12:06 +02:00
workqueue.rs Move thread_state to style. 2016-08-22 16:08:56 +02:00

servo-style

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