scrollTop is not updated. > It's not clear to me that the spec really > says what to do in this case, aside from requiring that the sticky thing > must be reachable via scrollbars (which it is in all browsers right now). scrollHeight is also not updated. If div#abs-pos-to-be-removed is dynamically removed, then scrollHeight should be modified accordingly. http://www.gtalbot.org/BugzillaSection/Bug1462235-non-updated-DHTML-scroll-values-001.html The failure also happens with 'overflow: hidden'. http://www.gtalbot.org/BugzillaSection/Bug1462235-non-updated-DHTML-scroll-values-002.html
Bug 1462235 Comment 14 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
scrollTop is not updated. > It's not clear to me that the spec really > says what to do in this case, aside from requiring that the sticky thing > must be reachable via scrollbars (which it is in all browsers right now). scrollHeight is also not updated. If div#abs-pos-to-be-removed is dynamically removed, then scrollHeight should be modified accordingly. http://www.gtalbot.org/BugzillaSection/Bug1462235-non-updated-DHTML-scroll-values-001.html The failure also happens with 'overflow: hidden'. http://www.gtalbot.org/BugzillaSection/Bug1462235-non-updated-DHTML-scroll-values-002.html Chromium 90, Chromium 98 and Epiphany 3.38.2 (WebKitGTK 2.34.1) pass those 2 tests.
scrollTop is not updated. > It's not clear to me that the spec really > says what to do in this case, aside from requiring that the sticky thing > must be reachable via scrollbars (which it is in all browsers right now). scrollHeight is also not updated. If div#abs-pos-to-be-removed is dynamically removed, then the scrollHeight of the div#scrolling-relpos-container should be modified accordingly. http://www.gtalbot.org/BugzillaSection/Bug1462235-non-updated-DHTML-scroll-values-001.html The failure in Firefox also happens with 'overflow: hidden': http://www.gtalbot.org/BugzillaSection/Bug1462235-non-updated-DHTML-scroll-values-002.html Firefox 78.15.0 ESR and Firefox 96.0a1 buildID=20211112092317 fail those 2 tests. Chromium 90, Chromium 98 and Epiphany 3.38.2 (WebKitGTK 2.34.1) pass those 2 tests.
scrollTop is not updated. > It's not clear to me that the spec really > says what to do in this case, aside from requiring that the sticky thing > must be reachable via scrollbars (which it is in all browsers right now). scrollHeight is also not updated. If div#abs-pos-to-be-removed is dynamically removed, then the scrollHeight of the div#scrolling-relpos-container should be modified accordingly. http://www.gtalbot.org/BugzillaSection/Bug1462235-non-updated-DHTML-scroll-values-001.html The failure in Firefox also happens with 'overflow: hidden': http://www.gtalbot.org/BugzillaSection/Bug1462235-non-updated-DHTML-scroll-values-002.html Firefox 78.15.0 ESR and Firefox 96.0a1 buildID=20211112092317 fail those 2 tests. Chromium 90, Chromium 98 and Epiphany 3.38.2 (WebKitGTK 2.34.1) pass those 2 tests. - - - If div#abs-pos-to-be-removed overlaps the div#sticky and is dynamically removed, then Firefox also fails in updating scrollHeight of the div#scrolling-relpos-container: http://www.gtalbot.org/BugzillaSection/Bug1462235-non-updated-DHTML-scroll-values-003.html