https://bugs.webkit.org/show_bug.cgi?id=129956
Reviewed by Simon Fraser.
RenderStyle::createStyleInheritingFromPseudoStyle was moved from RenderImage. Before it
was moved, there was an image-specific comment in the function. However, that comment
is both irrelevant to RenderStyle, and incorrect as the function is necessary for
RenderQuotes as well.
No new tests are necessary because there is no behavior change.
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::createStyleInheritingFromPseudoStyle):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@165324
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2014-03-07 Myles C. Maxfield <mmaxfield@apple.com>
+
+ Comment in RenderStyle is no longer accurate
+ https://bugs.webkit.org/show_bug.cgi?id=129956
+
+ Reviewed by Simon Fraser.
+
+ RenderStyle::createStyleInheritingFromPseudoStyle was moved from RenderImage. Before it
+ was moved, there was an image-specific comment in the function. However, that comment
+ is both irrelevant to RenderStyle, and incorrect as the function is necessary for
+ RenderQuotes as well.
+
+ No new tests are necessary because there is no behavior change.
+
+ * rendering/style/RenderStyle.cpp:
+ (WebCore::RenderStyle::createStyleInheritingFromPseudoStyle):
+
2014-03-07 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org>
[WebRTC] Throw SYNTAX_ERROR when maxRetransmits and maxRetransmitTime are both set in RTCDataChannelInit
{
ASSERT(pseudoStyle.styleType() == BEFORE || pseudoStyle.styleType() == AFTER);
- // Images are special and must inherit the pseudoStyle so the width and height of
- // the pseudo element doesn't change the size of the image. In all other cases we
- // can just share the style.
auto style = RenderStyle::create();
style.get().inheritFrom(&pseudoStyle);
return style;