@nrose...@google.com thanks in advance for review, i left a few open discussions, where i would like to have either confirmation that it's ok, or a idea how to refactor/change.
really appreciate any help, please let me know if you want me to change anything.
if (!seen_rule && (rule || !base::FeatureList::IsEnabled(without the exception to accept failed parsing of @charset the provided samplers failed.
```
@charset "utf-8"; clg-profile-avatar {
display: inline-block;
height: var(--clg-avatar-host-size, var(--clg-dimension-app-avatar-base-size, 48px));
width: var(--clg-avatar-host-size, var(--clg-dimension-app-avatar-base-size, 48px))
}
```
--> https://www.etsy.com/ac/sasquatch/css/collage/shadow.f976e51d0fc8f2.css
never used @charset, not sure why this fails to parse.
for (unsigned i = 0; i < import_rules_.size(); ++i) {Nit: This indexed loop intentionally follows the pattern used by the surrounding loops in this file. guess it could be better like:
```cpp
base::ranges::transform(o.import_rules_, import_rules_.begin(),
[this](const auto& rule) { return rule->CopyForShareableSheet(this); });
```
but guess that should be done as a follow up?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
BLINK_COMMON_EXPORT BASE_DECLARE_FEATURE(kCSSImportedStyleSheetCaching);Make this a runtime_enabled_feature instead since it's blink only.
SetParsedStyleSheetCache(nullptr);If this can only happen with the new flag, CHECK here for the flag being enabled.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
BLINK_COMMON_EXPORT BASE_DECLARE_FEATURE(kCSSImportedStyleSheetCaching);Make this a runtime_enabled_feature instead since it's blink only.
Done
SetParsedStyleSheetCache(nullptr);If this can only happen with the new flag, CHECK here for the flag being enabled.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Sharing of StyleSheetContents has been a recurring source of bugs, some _extremely_ subtle and elusive, so any change in this area needs to be completely bulletproof.
As it stands now, and absent any explanation/plan/description, I struggle to see the cohesion and reasoning between the various changes in this CL.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |