| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
TEST(StyleDifferenceTest, StreamOutputDefault) {Removed this test-suite as doesn't seem to provide much (if any) value for just debug logging.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
There are build failures. So I'll pause reviewing.
"transform",Now there's transform-data, transform-property, and transform.
Does this naming make sense? Maybe transform-generic, for the sake of greppability, if nothing else.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
The rest looks fine!
"transform",Now there's transform-data, transform-property, and transform.
Does this naming make sense? Maybe transform-generic, for the sake of greppability, if nothing else.
Or transform-common?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
Morten StenshorneNow there's transform-data, transform-property, and transform.
Does this naming make sense? Maybe transform-generic, for the sake of greppability, if nothing else.
Or transform-common?
Ack. So the previously variant was needed, as we needed to track if *only* the transform property had changed. Switched to back to HEAD. See comment in computed_style.cc
diff.transform_changed = true;This was being used to indicate that *only* the transform property had changed (and nothing else). Rework to indicate that.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
TEST(StyleDifferenceTest, StreamOutputDefault) {Removed this test-suite as doesn't seem to provide much (if any) value for just debug logging.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
9 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/style/computed_style.cc
Insertions: 3, Deletions: 5.
@@ -847,11 +847,6 @@
if (field_diff & kFilterData) {
diff.filter_changed = true;
}
- if (field_diff & kHasTransform) {
- if (HasTransform() != other.HasTransform()) {
- diff.transform_changed = true;
- }
- }
if (field_diff & kMask) {
diff.mask_changed = true;
@@ -880,6 +875,9 @@
}
if (field_diff & kTransformOther) {
diff.transform_changed = true;
+ } else if ((field_diff & kHasTransform) &&
+ HasTransform() != other.HasTransform()) {
+ diff.transform_changed = true;
} else if (field_diff & kTransformProperty) {
diff.only_transform_property_changed = true;
diff.transform_changed = true;
```
[cleanup] Simplify StyleDifference.
If there was a choice to be made within StyleDifference, StyleDifference
did both.
For example:
- There is the "property_specific_differences_" bits, but single
properties were also split out into the bitfield, see:
"border_shape_changed_".
- "property_specific_differences_" wasn't only about single properties,
see: "kOtherTransformPropertyChanged".
- Using both "enum" and "enum class".
The setters/getters didn't provide much value for most things, just
expose the field directly for most things (except for paint/layout
invalidation which have a little bit more logic).
Other small cleanups include:
- Renaming NeedsPositionedMovementLayout to NeedsPositionedLayout.
- Adding "only_transform_property_changed" instead of
"OtherTransformPropertyChanged" which wasn't particularly clear
about what it was doing.
- Renaming "ScrollAnchorDisablingPropertyChanged" to
"disable_scroll_anchoring".
There should be no behaviour change.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
📍 Job mac-m1_mini_2020-perf/speedometer3 complete.
See results at: https://pinpoint-dot-chromeperf.appspot.com/job/12aee87b710000
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |