DescriptionMake chrome/ be documentElement/body agnostic with regards to scrollTop/Left
Blink is in the process of getting itself in pair with how other Web engines'
(Trident,Gecko,Presto) behavior with regards to scrollTop and scrollLeft when
called for documentElement and body. This process has been proved itself
to be of great impact within Chrome, given that its UI is written in HTML/JS/CSS.
See for example bugs 305800, 304753, 305745, 304816, 305742, 305092.
This CL tries to prevent Chrome from future similar breakages, as the Blink process
of adapting to this change is not yet 100% finalized. It will also allow CLs 69143002 and 51553002 to land without breaking Chrome.
CL also fixes driven-by issues like the usage of getElementById instead of $, so CQ can land the CL.
Additionally, a PRESUBMIT hook is being considered as well, in order to
advice programmers to not user {documentElement.body}.scroll{Top,Left} directly
and instead use the helper added to resources/js/util.js
BUG=316722
R=dbeam@chromium.org,newt@chromium.org,sky@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=235414
Patch Set 1 : Make chrome/ be documentElement/body agnostic with regards to scrollTop/Left #
Total comments: 4
Patch Set 2 : Make chrome/ be documentElement/body agnostic with regards to scrollTop/Left #
Total comments: 2
Patch Set 3 : Make chrome/ be documentElement/body agnostic with regards to scrollTop/Left #
Total comments: 4
Patch Set 4 : #
Total comments: 3
Patch Set 5 : #Messages
Total messages: 39 (0 generated)
|