forked from WebKit/WebKit-http
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip matched declarations cache only for length resolution affecting …
…font properties https://bugs.webkit.org/show_bug.cgi?id=204098 Reviewed by Zalan Bujtas. * css/CSSPrimitiveValue.cpp: (WebCore::CSSPrimitiveValue::equalForLengthResolution): Put this next to the length resolution function, hopefully helping to keep them in sync. * css/CSSPrimitiveValue.h: * css/StyleResolver.cpp: (WebCore::StyleResolver::applyMatchedProperties): Replace test for font declaration change with a narrower test that only looks for those properties that affect length resolution. * style/MatchedDeclarationsCache.cpp: (WebCore::Style::MatchedDeclarationsCache::Entry::isUsableAfterHighPriorityProperties const): Factor into function. * style/MatchedDeclarationsCache.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@252370 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
c07ee6f
commit ea57b5f
Showing
6 changed files
with
61 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,28 @@ | ||
2019-11-12 Antti Koivisto <[email protected]> | ||
|
||
Skip matched declarations cache only for length resolution affecting font properties | ||
https://bugs.webkit.org/show_bug.cgi?id=204098 | ||
|
||
Reviewed by Zalan Bujtas. | ||
|
||
* css/CSSPrimitiveValue.cpp: | ||
(WebCore::CSSPrimitiveValue::equalForLengthResolution): | ||
|
||
Put this next to the length resolution function, hopefully helping to keep them in sync. | ||
|
||
* css/CSSPrimitiveValue.h: | ||
* css/StyleResolver.cpp: | ||
(WebCore::StyleResolver::applyMatchedProperties): | ||
|
||
Replace test for font declaration change with a narrower test that only looks for those properties that affect length resolution. | ||
|
||
* style/MatchedDeclarationsCache.cpp: | ||
(WebCore::Style::MatchedDeclarationsCache::Entry::isUsableAfterHighPriorityProperties const): | ||
|
||
Factor into function. | ||
|
||
* style/MatchedDeclarationsCache.h: | ||
|
||
2019-11-12 Peng Liu <[email protected]> | ||
|
||
Picture-in-Picture events are not fired if we switch the Picture-in-Picture mode through modern media controls | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters