| Code-Review | +1 |
auto* function = DynamicTo<CSSFunctionValue>(value);.nit const
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
auto* function = DynamicTo<CSSFunctionValue>(value);Alison Maher.nit const
Done (and added const to a few other similar spots)
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Exportable changes to web-platform-tests were detected in this CL and a pull request in the upstream repo has been made: https://github.com/web-platform-tests/wpt/pull/57622.
When this CL lands, the bot will automatically merge the PR on GitHub if the required GitHub checks pass; otherwise, ecosystem-infra@ team will triage the failures and may contact you.
WPT Export docs:
https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md#Automatic-export-process
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
2 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: third_party/blink/renderer/core/css/properties/css_parsing_utils.cc
Insertions: 4, Deletions: 4.
@@ -6575,14 +6575,14 @@
}
bool IsGridBreadthIntrinsicSized(const CSSValue& value) {
- if (auto* identifier_value = DynamicTo<CSSIdentifierValue>(value)) {
+ if (const auto* identifier_value = DynamicTo<CSSIdentifierValue>(value)) {
CSSValueID value_id = identifier_value->GetValueID();
return value_id == CSSValueID::kAuto ||
value_id == CSSValueID::kMinContent ||
value_id == CSSValueID::kMaxContent;
}
- if (auto* function = DynamicTo<CSSFunctionValue>(value)) {
+ if (const auto* function = DynamicTo<CSSFunctionValue>(value)) {
return function->FunctionType() == CSSValueID::kFitContent;
}
@@ -6594,7 +6594,7 @@
}
bool IsGridTrackFixedSized(const CSSValue& value) {
- auto* function = DynamicTo<CSSFunctionValue>(value);
+ const auto* function = DynamicTo<CSSFunctionValue>(value);
if (function && function->FunctionType() != CSSValueID::kFitContent) {
const CSSValue& min_value = function->Item(0);
const CSSValue& max_value = function->Item(1);
@@ -6606,7 +6606,7 @@
}
bool IsGridTrackIntrinsicSized(const CSSValue& value) {
- auto* function = DynamicTo<CSSFunctionValue>(value);
+ const auto* function = DynamicTo<CSSFunctionValue>(value);
if (function && function->FunctionType() != CSSValueID::kFitContent) {
const CSSValue& min_value = function->Item(0);
const CSSValue& max_value = function->Item(1);
```
[Masonry] Parse auto repeat with intrinsic minmax()
In grid-lanes, we support intrinsic auto repeats. This means we need to
support auto repeats with minmax() and intrinsic values for both the min
and max breadth.
For example, repeat(auto-fill, minmax(auto, auto).
This change adds parsing support for this addition. The implementation
of this will be done in a follow up change.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
The WPT PR for this CL has been merged upstream! https://github.com/web-platform-tests/wpt/pull/57622
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |