Summary: | Skip matched declarations cache only for length resolution affecting font properties | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Antti Koivisto <koivisto> | ||||
Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | allan.jensen, commit-queue, esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, macpherson, menard, simon.fraser, webkit-bug-importer, zalan | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Antti Koivisto
2019-11-11 17:22:16 PST
Created attachment 383325 [details]
patch
Comment on attachment 383325 [details] patch Clearing flags on attachment: 383325 Committed r252370: <https://trac.webkit.org/changeset/252370> All reviewed patches have been landed. Closing bug. Comment on attachment 383325 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=383325&action=review > Source/WebCore/css/CSSPrimitiveValue.cpp:708 > +bool CSSPrimitiveValue::equalForLengthResolution(const RenderStyle& styleA, const RenderStyle& styleB) Why is this a function on CSSPrimitiveValue? Seems like it could be on RenderStyle. > Why is this a function on CSSPrimitiveValue? Seems like it could be on
> RenderStyle.
I put it next to the length resolution function (CSSPrimitiveValue::computeNonCalcLengthDouble) since these two must stay in sync.
They should be moved somewhere else together.
|