mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Auto merge of #10407 - mauricioc:issue10403, r=bholley
Move some CSS properties to match Gecko's representation Fixes #10403. Animation had an extra transition-delay property, which was also moved to Box. Let me know if I should squash the commits. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10407) <!-- Reviewable:end -->
This commit is contained in:
commit
256b865055
10 changed files with 92 additions and 90 deletions
|
@ -1122,7 +1122,7 @@ impl FragmentDisplayListBuilding for Fragment {
|
|||
self.style().get_color().color
|
||||
};
|
||||
|
||||
for text_shadow in self.style.get_effects().text_shadow.0.iter().rev() {
|
||||
for text_shadow in self.style.get_inheritedtext().text_shadow.0.iter().rev() {
|
||||
let offset = &Point2D::new(text_shadow.offset_x, text_shadow.offset_y);
|
||||
let color = self.style().resolve_color(text_shadow.color);
|
||||
self.build_display_list_for_text_fragment(state,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue