| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
gfx::RectF ComputeVisualOverflowRectIncludingFilters() const {```suggestion
gfx::RectF ComputeContentVisualOverflowRectIncludingFilters() const {
```
?
if (is_visual_overflow || hit_rules.can_hit_bounding_box) {So this is now always "imprecise" - could we then return early if it doesn't intersect (rather than running the "actual" intersection test as well)?
gfx::RectF bounds = ObjectBoundingBox();This would need to be the decorated bbox for the `is_visual_overflow` case, no?
static gfx::RectF ComputeVisualOverflowRectIncludingFilters(Not sure why we'd want this here. Couldn't it go in `SVGContentContainer`?
if (!filter_reference_box.size().IsZero()) {This check is not very obvious to me, could you document why it is needed here?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
gfx::RectF ComputeVisualOverflowRectIncludingFilters() const {```suggestion
gfx::RectF ComputeContentVisualOverflowRectIncludingFilters() const {
```
?
Done
if (is_visual_overflow || hit_rules.can_hit_bounding_box) {So this is now always "imprecise" - could we then return early if it doesn't intersect (rather than running the "actual" intersection test as well)?
Done
This would need to be the decorated bbox for the `is_visual_overflow` case, no?
Done, which made some other tidying possible.
static gfx::RectF ComputeVisualOverflowRectIncludingFilters(Not sure why we'd want this here. Couldn't it go in `SVGContentContainer`?
Done
This check is not very obvious to me, could you document why it is needed here?
This was introduced by https://crrev.com/c/1364152 and the instance here was copied from LayoutBoxModelObject::ApplyFiltersToRect. I don't think either of these codepaths need this check. I'll go ahead and remove it here.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |