DescriptionFix improper scrollTop/Left usage in LayoutTests/
Rule of thumb here is: if in strict mode, documentElement element
should be used to operate over scrollTop/Left properties.
When in quirks mode, use 'body' element.
CL fixes many layout tests caught by an UseCount/Console warning
being added by https://codereview.chromium.org/26489005/ that
were abusing the relaxed body.scrollTop/Left support Blink currently has.
The exception is LayoutTests/jquery/offset.html, where jQuery on purpose
uses both documentElement and body elements, for cross engine support.
R=Julien Chaffraix, Dan Beam
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159195
Patch Set 1 : Fix improper scrollTop/Left usage in LayoutTests/ #
Total comments: 9
Patch Set 2 : Fix improper scrollTop/Left usage in LayoutTests/ #Messages
Total messages: 8 (0 generated)
|