Closed Bug 1668714 Opened 4 years ago Closed 4 years ago

scrollWidth/scrollHeight returns wrong values for overflow:clip

Categories

(Core :: DOM: CSS Object Model, defect, P3)

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)

References

Details

Attachments

(1 file)

See https://github.com/w3c/csswg-drafts/issues/5572

Currently we handle it the same as overflow:visible but we should ignore any overflow in an axis where we apply clip (per nsIFrame::ShouldApplyOverflowClipping)

This should be a fairly trivial fix, patch coming up...

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:mats, could you have a look please?
For more information, please visit auto_nag documentation.

Flags: needinfo?(mats)

RESOLVED: scrollWidth/scrollHeight ignore overflow:clip when computing the value

I think that means our current behavior is correct then.

Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(mats)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: