RESOLVED FIXED Bug 139858
Move "Auto" CSS properties to the new StyleBuilder
https://bugs.webkit.org/show_bug.cgi?id=139858
Summary Move "Auto" CSS properties to the new StyleBuilder
Chris Dumez
Reported 2014-12-21 17:07:50 PST
Move "Auto" CSS properties from DeprecatedStyleBuilder to the new StyleBuilder.
Attachments
Patch (17.58 KB, patch)
2014-12-21 17:44 PST, Chris Dumez
no flags
Patch (21.05 KB, patch)
2014-12-21 21:40 PST, Chris Dumez
no flags
Chris Dumez
Comment 1 2014-12-21 17:44:34 PST
Sam Weinig
Comment 2 2014-12-21 19:28:13 PST
Comment on attachment 243616 [details] Patch Instead of doing this as Custom=All, can we make the generator generate this?
Chris Dumez
Comment 3 2014-12-21 19:51:41 PST
(In reply to comment #2) > Comment on attachment 243616 [details] > Patch > > Instead of doing this as Custom=All, can we make the generator generate this? Eventually, I think so (also the Font-related properties for e.g.). I was working on getting rid of DeprecatedStyleBuilder as soon as possible. Then I was planning to do a second pass and see how we can reduce the amount of Custom code. I was thinking it would be easier to group similar properties and prioritize generating the larger groups once all the implementation is in one place. If you disagree, I can take a look at generating these 6 properties already when I find some time.
Chris Dumez
Comment 4 2014-12-21 20:38:00 PST
(In reply to comment #3) > (In reply to comment #2) > > Comment on attachment 243616 [details] > > Patch > > > > Instead of doing this as Custom=All, can we make the generator generate this? > > Eventually, I think so (also the Font-related properties for e.g.). I was > working on getting rid of DeprecatedStyleBuilder as soon as possible. Then I > was planning to do a second pass and see how we can reduce the amount of > Custom code. > > I was thinking it would be easier to group similar properties and prioritize > generating the larger groups once all the implementation is in one place. > > If you disagree, I can take a look at generating these 6 properties already > when I find some time. I am working on this right now. I'll probably leave out the column-gap property for now (i.e. use custom code) as it is a bit different as I don't think we should make the generator more complex for a single property.
Sam Weinig
Comment 5 2014-12-21 21:06:56 PST
(In reply to comment #3) > (In reply to comment #2) > > Comment on attachment 243616 [details] > > Patch > > > > Instead of doing this as Custom=All, can we make the generator generate this? > > Eventually, I think so (also the Font-related properties for e.g.). I was > working on getting rid of DeprecatedStyleBuilder as soon as possible. Then I > was planning to do a second pass and see how we can reduce the amount of > Custom code. > > I was thinking it would be easier to group similar properties and prioritize > generating the larger groups once all the implementation is in one place. > > If you disagree, I can take a look at generating these 6 properties already > when I find some time. That seems reasonable.
Chris Dumez
Comment 6 2014-12-21 21:07:52 PST
Comment on attachment 243616 [details] Patch I am almost done adding support for this in the generator.
Chris Dumez
Comment 7 2014-12-21 21:40:20 PST
Chris Dumez
Comment 8 2014-12-21 22:13:01 PST
Comment on attachment 243619 [details] Patch now generating most properties.
WebKit Commit Bot
Comment 9 2014-12-22 02:39:01 PST
Comment on attachment 243619 [details] Patch Clearing flags on attachment: 243619 Committed r177630: <http://trac.webkit.org/changeset/177630>
WebKit Commit Bot
Comment 10 2014-12-22 02:39:05 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.