mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
style: Make insertion of @font-face rules not necessarily restyle the whole document.
Bug: 1435214 Reviewed-by: xidorn MozReview-Commit-ID: 5ewKiShUHNi
This commit is contained in:
parent
f2df3052d9
commit
9c66b07b67
1 changed files with 6 additions and 2 deletions
|
@ -417,9 +417,13 @@ impl StylesheetInvalidationSet {
|
|||
// Do nothing, relevant nested rules are visited as part of the
|
||||
// iteration.
|
||||
}
|
||||
FontFace(..) |
|
||||
CounterStyle(..) |
|
||||
FontFace(..) => {
|
||||
// Do nothing, @font-face doesn't affect computed style
|
||||
// information. We'll restyle when the font face loads, if
|
||||
// needed.
|
||||
}
|
||||
Keyframes(..) |
|
||||
CounterStyle(..) |
|
||||
Page(..) |
|
||||
Viewport(..) |
|
||||
FontFeatureValues(..) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue