RESOLVED FIXED 73500
Implement CSS display property in CSSStyleApplyProperty.
https://bugs.webkit.org/show_bug.cgi?id=73500
Summary Implement CSS display property in CSSStyleApplyProperty.
Luke Macpherson
Reported 2011-11-30 16:50:29 PST
Implement css display property in CSSStyleApplyProperty.
Attachments
Patch (6.75 KB, patch)
2011-11-30 16:53 PST, Luke Macpherson
no flags
Patch (6.59 KB, patch)
2011-12-06 18:33 PST, Luke Macpherson
no flags
Luke Macpherson
Comment 1 2011-11-30 16:53:23 PST
Andreas Kling
Comment 2 2011-12-03 22:12:04 PST
Comment on attachment 117297 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=117297&action=review > Source/WebCore/ChangeLog:3 > + Implement css display property in CSSStyleApplyProperty. css -> CSS > Source/WebCore/css/CSSStyleApplyProperty.cpp:1183 > + static inline bool isSVGElement(CSSStyleSelector* selector) I'm not a fan of this name, since the function answers more than just "is it an SVG element". > Source/WebCore/css/CSSStyleApplyProperty.cpp:1203 > + static void applyInitialValue(CSSStyleSelector* selector) > + { > + selector->style()->setDisplay(RenderStyle::initialDisplay()); > + } Shouldn't we have the if (isSVGElement.....) early return before setting the value in here, too?
Luke Macpherson
Comment 3 2011-12-06 18:33:11 PST
WebKit Review Bot
Comment 4 2011-12-11 18:24:46 PST
Comment on attachment 118157 [details] Patch Clearing flags on attachment: 118157 Committed r102552: <http://trac.webkit.org/changeset/102552>
WebKit Review Bot
Comment 5 2011-12-11 18:24:51 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.