Skip to content

Commit

Permalink
Rebuild the writing_mode with cached style reuse
Browse files Browse the repository at this point in the history
Fixes #11818
  • Loading branch information
notriddle committed Aug 12, 2016
1 parent a229135 commit ad4b9aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/style/properties/properties.mako.rs
Expand Up @@ -1716,6 +1716,9 @@ fn cascade_with_cached_declarations(
context.mutate_style().mutate_font().compute_font_hash();
}

let mode = get_writing_mode(context.style.get_inheritedbox());
context.style.set_writing_mode(mode);

context.style
}

Expand Down

0 comments on commit ad4b9aa

Please sign in to comment.