Re: [webkit-dev] Implementing style scoped

2011-09-29 Thread Roland Steiner
On Wed, Sep 14, 2011 at 1:26 AM, Roland Steiner rolandstei...@google.comwrote: On Mon, Sep 12, 2011 at 4:21 PM, Dimitri Glazkov dglaz...@chromium.orgwrote: Yeah. You're right. We should get Hixie to change the spec. I don't think we should implement currently spec'd behavior or change the

Re: [webkit-dev] Implementing style scoped

2011-09-13 Thread Roland Steiner
On Mon, Sep 12, 2011 at 4:21 PM, Dimitri Glazkov dglaz...@chromium.orgwrote: Yeah. You're right. We should get Hixie to change the spec. I don't think we should implement currently spec'd behavior or change the name. That last option sounds exceptionally bad. Roland, can you post on that

Re: [webkit-dev] Implementing style scoped

2011-09-12 Thread Edward O'Connor
Ryosuke Niwa wrote: Why do diverge? It seems like we should at least prefix the attribute with webkit in the case spec changes in the future. See above linked discussion for details. In the end we felt limiting the selector matching to the scope is more natural, and - with the proposed

Re: [webkit-dev] Implementing style scoped

2011-09-12 Thread Maciej Stachowiak
On Sep 8, 2011, at 2:28 PM, Roland Steiner wrote: Hi all, After several discussions on the whatwg@ mailing list and others, we would like to go forward with adding style scoped to WebKit. Overview: Style rules within style scoped only apply to the parent element of style scoped

Re: [webkit-dev] Implementing style scoped

2011-09-12 Thread Dimitri Glazkov
On Mon, Sep 12, 2011 at 4:11 PM, Maciej Stachowiak m...@apple.com wrote: On Sep 8, 2011, at 2:28 PM, Roland Steiner wrote: Hi all, After several discussions on the whatwg@ mailing list and others, we would like to go forward with adding style scoped to WebKit. Overview: Style rules within

Re: [webkit-dev] Implementing style scoped

2011-09-09 Thread Antti Koivisto
On Fri, Sep 9, 2011 at 12:28 AM, Roland Steiner rolandstei...@chromium.orgwrote: ad 3.) Implementation of scoped selector matching works as follows: .) scoped style sheet rules are contained in a separate map scoping element address - RuleSet .) add a field to ParentStackFrame that

Re: [webkit-dev] Implementing style scoped

2011-09-09 Thread Roland Steiner
On Thu, Sep 8, 2011 at 6:51 PM, Ryosuke Niwa rn...@webkit.org wrote: Very excited for this feature! On Thu, Sep 8, 2011 at 2:28 PM, Roland Steiner rolandstei...@chromium.org wrote: As per discussion on http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-June/032056.html, our

Re: [webkit-dev] Implementing style scoped

2011-09-09 Thread Ryosuke Niwa
On Fri, Sep 9, 2011 at 12:51 PM, Roland Steiner rolandstei...@google.comwrote: On Thu, Sep 8, 2011 at 6:51 PM, Ryosuke Niwa rn...@webkit.org wrote: Very excited for this feature! On Thu, Sep 8, 2011 at 2:28 PM, Roland Steiner rolandstei...@chromium.org wrote: As per discussion on

[webkit-dev] Implementing style scoped

2011-09-08 Thread Roland Steiner
Hi all, After several discussions on the whatwg@ mailing list and others, we would like to go forward with adding style scoped to WebKit. Overview: Style rules within style scoped only apply to the parent element of style scoped (the scoping element), as well as descendants of it. Any other

Re: [webkit-dev] Implementing style scoped

2011-09-08 Thread Ryosuke Niwa
Very excited for this feature! On Thu, Sep 8, 2011 at 2:28 PM, Roland Steiner rolandstei...@chromium.orgwrote: As per discussion on http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2011-June/032056.html, our implementation would diverge from the current HTML5 spec Why do diverge? It