| Summary: | Avoid resolving style for elements that only inherit changes from parent | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Antti Koivisto <koivisto> | ||||||||||||||
| Component: | CSS | Assignee: | Antti Koivisto <koivisto> | ||||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||||
| Severity: | Normal | CC: | changseok, esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, jbedard, joepeck, kondapallykalyan, macpherson, menard, pdr, sam, simon.fraser, webkit-bug-importer | ||||||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||||||
| Version: | WebKit Nightly Build | ||||||||||||||||
| Hardware: | Unspecified | ||||||||||||||||
| OS: | Unspecified | ||||||||||||||||
| Bug Depends on: | 240770 | ||||||||||||||||
| Bug Blocks: | |||||||||||||||||
| Attachments: |
|
||||||||||||||||
|
Description
Antti Koivisto
2022-05-05 11:21:10 PDT
Created attachment 458897 [details]
Patch
Created attachment 458998 [details]
Patch
Created attachment 458999 [details]
Patch
Created attachment 459000 [details]
Patch
Created attachment 459001 [details]
Patch
Comment on attachment 459001 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=459001&action=review > Source/WebCore/ChangeLog:10 > + is done by simply running the full style resolution for them sincluding selector matching and typo: sincluding -> including > Source/WebCore/ChangeLog:13 > + In a common case nothing changes in descendants expect the inherited properties. This patch implements typo. "In a common case" usually we say "In the common case". > Source/WebCore/css/CSSProperties.json:96 > + "Indicates that this CSS property can use fast-path inheritance mechanism.", "Indicates that this CSS property can use fast-path inheritance mechanism.", -> "Indicates that this CSS property can use the fast-path inheritance mechanism.", Created attachment 459010 [details]
Patch for landing
Committed r293956 (250402@main): <https://commits.webkit.org/250402@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 459010 [details]. |