- From: Kang-Hao (Kenny) Lu <kanghaol@oupeng.com>
- Date: Fri, 17 Aug 2012 11:52:22 +0800
- To: "Marat Tanalin | tanalin.com" <mtanalin@yandex.ru>
- CC: WWW Style <www-style@w3.org>
(12/01/28 7:05), Marat Tanalin | tanalin.com wrote: > The "-" combinator is functionally similar to existing "+" > combinator, but selects previous-sibling element instead of > next-sibling one. > > So in result we would have "+" to move forward, and "-" to move > backward (like element.nextSibling and element.previousSibling in > DOM, respectively). While I think this idea makes sense, using "-" would mean that you have to put spaces around "-". For example, compare x-element {} /* I am not following the Web Compoents work and I don't know if the x-prefix idea is still there */ to x - element {} . I have no idea how big this concern is. Cheers, Kenny -- Web Specialist, Oupeng Browser, Beijing Try Oupeng: http://www.oupeng.com/
Received on Friday, 17 August 2012 03:52:46 UTC