On 7/26/12 3:15 PM, "Adam Barth" <aba...@webkit.org> wrote:
>
>On Thu, Jul 26, 2012 at 2:58 PM, Alan Stearns <stea...@adobe.com> wrote:
>
>On 7/26/12 2:36 PM, "Adam Barth" <aba...@webkit.org> wrote:
>...
>>
>>
>>Discussing this issue with Sam in #webkit, we wondered whether another
>>solution is to not implement the CSSOM for Regions.  Is there are strong
>>use case for having this CSSOM in the first place?
>>
>>
>>Adam
>
>...
>There are strong use cases for the object model for CSS Regions. Adobe has
>projects we'd like to base on CSS Regions, and script access  will be
>vital for these efforts. We've also been building prototypes of other CSS
>extensions using the CSS Regions OM. I understand that there are projects
>based on IE10's version of CSS Regions where script access is required.
>And in general I'd rather avoid adding new things to the platform that are
>opaque to scripting.
>
>
>
>
>That all seems very vague.  Can you explain what you have in mind?

Here's a few:

1. Modifying the region chain based on content changes or window resizing.
This could involve adding or removing CSS Regions, or changing region
geometry.
2. Handing events on named flow contents - using the OM to determine the
CSS Region(s) that contain the content.
3. Layout extensions implemented via script (script-based layout
constraints can change region chain geometry).
4. Paginated views that use script to navigate or search (use the OM to
determine the page to display).

Thanks,

Alan

_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to