- From: Simon Pieters <simonp@opera.com>
- Date: Tue, 13 Aug 2013 16:49:41 +0200
- To: "www-style@w3.org" <www-style@w3.org>
Hi While trying to use WebIDL's new [SameObject] and [NewObject] extended attributes where applicable in CSSOM [1], I noticed that the GetStyleUtils members return new objects each time but doing so is discouraged for attributes [2]. I don't think it makes sense for these to return the same object each time since that would mean having to keep the object live which is probably quite expensive. So I propose that these members be changed to members instead, as follows https://dvcs.w3.org/hg/csswg/rev/9e6704a6328c If anyone prefers different names as methods, let's hear it. [1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=22885 [2] https://www.w3.org/Bugs/Public/show_bug.cgi?id=22939 -- Simon Pieters Opera Software
Received on Tuesday, 13 August 2013 14:44:46 UTC