Re: [spec-reviews] CSSOM View document.scrollingElement (#51)

@phistuck,
@phistuck,
just to say it clearer ... I am against adding a `scrollingElement` property to the `document`, it is already clear in the specs in which cases the scrolling element will be the `body` element (only in Quirks Mode), in all other cases the scrolling element should be the `documentElement`.
In any case, if that's deemed necessary to ease future detection I suggest adding a new method to the `viewport` (the global `window`).

Keep in mind that adding this new property or method doesn't solve anything for those that felt they should trust UA sniffing (the primary concern), they will be forced to change their code anyway if the bug is going to be fixed one day. The other way around is changing the specs and copy the bug also on Firefox and other already spec compliant engine. The latter, introducing far more changes in code written in the last decade.

My 2 cents :)


---
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/spec-reviews/issues/51#issuecomment-96754468

Received on Monday, 27 April 2015 17:46:53 UTC