| Summary: | [meta] Get rid of CSS property implicit flag | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | darin, obrufau, sam, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 248386 | ||
| Bug Blocks: | |||
|
Description
Tim Nguyen (:ntim)
2022-11-28 00:22:14 PST
Current usages: https://searchfox.org/wubkat/search?q=PropertyReference%3A%3AisImplicit&path=&case=false®exp=false When I started researching this, the remaining uses outside the style serialization machinery were in the inspector tools. We will need to keep the “implicit initial” concept even when we get rid of the implicit flag, because it turns out that using that CSSValue rather than actually creating the initial value CSSValue was an accidental but important performance optimization. However, we could rename it something different like “initial value placeholder”. Another alternative would be to change it to be represented by a null pointer rather than an actual CSSValue, which I’m sure would achieve a similar performance optimization. |