- From: François REMY <francois.remy.dev@outlook.com>
- Date: Wed, 31 Jul 2013 00:04:28 +0200
- To: Boris Zbarsky <bzbarsky@mit.edu>, "www-style@w3.org" <www-style@w3.org>
- CC: "mihnea@adobe.com" <mihnea@adobe.com>
Just another reason why not having getNamedFlow(id) is problematic: - you may want to ask the NamedFlow for a flow that doesn't exist yet because the style hasn't been computed (or, depending on the browser, it may or may not have been computed because of different codepaths). - if you do so, you receive null or undefined with the current method, because it returns a static list of currently active flows, but cannot guarantee you it's up-to-date orelse it would have to flush the layout in the same way as offsetHeight does. - there's no way to tell the browser you want to get the corresponding named flow immediately in order to setup events on it, even if it's currently not in use.
Received on Tuesday, 30 July 2013 22:04:56 UTC