aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/servo
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-06-30 22:15:26 -0700
committerGitHub <noreply@github.com>2017-06-30 22:15:26 -0700
commitece35f9caa7c6882adf2927ca7d7ce2bc7d8cef8 (patch)
tree46e6f188b57b9776e90091113ca8c0faab69f1f1 /components/style/servo
parent90cf19151a02f8ee72354e1d15640047478474cd (diff)
parent2aef2af9b839873a6961b3a3815776505f31cfe7 (diff)
downloadservo-ece35f9caa7c6882adf2927ca7d7ce2bc7d8cef8.tar.gz
servo-ece35f9caa7c6882adf2927ca7d7ce2bc7d8cef8.zip
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 -->
Diffstat (limited to 'components/style/servo')
-rw-r--r--components/style/servo/restyle_damage.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/style/servo/restyle_damage.rs b/components/style/servo/restyle_damage.rs
index b113300c5a2..0d3a4b00092 100644
--- a/components/style/servo/restyle_damage.rs
+++ b/components/style/servo/restyle_damage.rs
@@ -202,7 +202,7 @@ fn compute_damage(old: &ServoComputedValues, new: &ServoComputedValues) -> Servo
add_if_not_equal!(old, new, damage,
[REPAINT, REPOSITION, STORE_OVERFLOW, BUBBLE_ISIZES, REFLOW_OUT_OF_FLOW,
REFLOW, RECONSTRUCT_FLOW], [
- get_box.float, get_box.display, get_box.position, get_counters.content,
+ get_box.clear, get_box.float, get_box.display, get_box.position, get_counters.content,
get_counters.counter_reset, get_counters.counter_increment,
get_inheritedbox._servo_under_display_none,
get_list.quotes, get_list.list_style_type,