diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-08-23 15:43:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-23 15:43:56 -0500 |
commit | d5913035ecef35350897c5fad9960615bbb4cec1 (patch) | |
tree | 88cb1d0ffa5f3eaefaea0ceaf93955055660f5c4 /components/script/dom/webglbuffer.rs | |
parent | 6f22251e6599aa529ce024d8618595be765c9a18 (diff) | |
parent | 4bb9de4ea5b74bfabf95431c28006d8831d3277d (diff) | |
download | servo-d5913035ecef35350897c5fad9960615bbb4cec1.tar.gz servo-d5913035ecef35350897c5fad9960615bbb4cec1.zip |
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 -->
Diffstat (limited to 'components/script/dom/webglbuffer.rs')
0 files changed, 0 insertions, 0 deletions