Re: [webkit-dev] StyleBuilder vs StyleResolver

2013-04-12 Thread Antti Koivisto
On Fri, Apr 12, 2013 at 4:50 PM, Dirk Schulze wrote: > > On Apr 12, 2013, at 1:08 AM, Antti Koivisto wrote: > > > On Fri, Apr 12, 2013 at 7:36 AM, Dirk Schulze > wrote: > > Hi, > > > > The style of CSS properties is either set in StyleBuilder/CSSProperty or > in StyleResolver (alias CSSStyleSel

Re: [webkit-dev] StyleBuilder vs StyleResolver

2013-04-12 Thread Dirk Schulze
On Apr 12, 2013, at 1:08 AM, Antti Koivisto wrote: > On Fri, Apr 12, 2013 at 7:36 AM, Dirk Schulze wrote: > Hi, > > The style of CSS properties is either set in StyleBuilder/CSSProperty or in > StyleResolver (alias CSSStyleSelector). > > StyleResolver has a giant switch statement to handle a

Re: [webkit-dev] StyleBuilder vs StyleResolver

2013-04-12 Thread Antti Koivisto
On Fri, Apr 12, 2013 at 7:36 AM, Dirk Schulze wrote: > Hi, > > The style of CSS properties is either set in StyleBuilder/CSSProperty or > in StyleResolver (alias CSSStyleSelector). > > StyleResolver has a giant switch statement to handle all CSS property > values and set the style. It is the hist

Re: [webkit-dev] StyleBuilder vs StyleResolver

2013-04-11 Thread Ryosuke Niwa
On Thu, Apr 11, 2013 at 9:36 PM, Dirk Schulze wrote: > The style of CSS properties is either set in StyleBuilder/CSSProperty or > in StyleResolver (alias CSSStyleSelector). > > StyleResolver has a giant switch statement to handle all CSS property > values and set the style. It is the historical w

Re: [webkit-dev] StyleBuilder vs StyleResolver

2013-04-11 Thread Benjamin Poulain
On Thu, Apr 11, 2013 at 9:36 PM, Dirk Schulze wrote: > The style of CSS properties is either set in StyleBuilder/CSSProperty or > in StyleResolver (alias CSSStyleSelector). > > StyleResolver has a giant switch statement to handle all CSS property > values and set the style. It is the historical w

[webkit-dev] StyleBuilder vs StyleResolver

2013-04-11 Thread Dirk Schulze
Hi, The style of CSS properties is either set in StyleBuilder/CSSProperty or in StyleResolver (alias CSSStyleSelector). StyleResolver has a giant switch statement to handle all CSS property values and set the style. It is the historical way to build the style. StyleBuilder was introduced ~2 y