Title: [109450] trunk/Source/WebCore
Revision
109450
Author
[email protected]
Date
2012-03-01 15:33:09 -0800 (Thu, 01 Mar 2012)

Log Message

Implement CSSPropertyImageRendering in CSSStyleApplyProperty.
https://bugs.webkit.org/show_bug.cgi?id=79855

Reviewed by Eric Seidel.

No new tests / refactoring only.

* css/CSSStyleApplyProperty.cpp:
(WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::collectMatchingRulesForList):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (109449 => 109450)


--- trunk/Source/WebCore/ChangeLog	2012-03-01 23:31:10 UTC (rev 109449)
+++ trunk/Source/WebCore/ChangeLog	2012-03-01 23:33:09 UTC (rev 109450)
@@ -1,3 +1,17 @@
+2012-03-01  Luke Macpherson   <[email protected]>
+
+        Implement CSSPropertyImageRendering in CSSStyleApplyProperty.
+        https://bugs.webkit.org/show_bug.cgi?id=79855
+
+        Reviewed by Eric Seidel.
+
+        No new tests / refactoring only.
+
+        * css/CSSStyleApplyProperty.cpp:
+        (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
+        * css/CSSStyleSelector.cpp:
+        (WebCore::CSSStyleSelector::collectMatchingRulesForList):
+
 2012-03-01  Alok Priyadarshi  <[email protected]>
 
         [chromium] Partial texture updates not happening with accelerated painting path

Modified: trunk/Source/WebCore/css/CSSStyleApplyProperty.cpp (109449 => 109450)


--- trunk/Source/WebCore/css/CSSStyleApplyProperty.cpp	2012-03-01 23:31:10 UTC (rev 109449)
+++ trunk/Source/WebCore/css/CSSStyleApplyProperty.cpp	2012-03-01 23:33:09 UTC (rev 109450)
@@ -1747,6 +1747,7 @@
     setPropertyHandler(CSSPropertyFontVariant, ApplyPropertyFont<FontSmallCaps, &FontDescription::smallCaps, &FontDescription::setSmallCaps, FontSmallCapsOff>::createHandler());
     setPropertyHandler(CSSPropertyFontWeight, ApplyPropertyFontWeight::createHandler());
     setPropertyHandler(CSSPropertyHeight, ApplyPropertyLength<&RenderStyle::height, &RenderStyle::setHeight, &RenderStyle::initialSize, AutoEnabled, IntrinsicEnabled, MinIntrinsicEnabled, NoneDisabled, UndefinedDisabled, FlexHeight>::createHandler());
+    setPropertyHandler(CSSPropertyImageRendering, ApplyPropertyDefault<EImageRendering, &RenderStyle::imageRendering, EImageRendering, &RenderStyle::setImageRendering, EImageRendering, &RenderStyle::initialImageRendering>::createHandler());
     setPropertyHandler(CSSPropertyLeft, ApplyPropertyLength<&RenderStyle::left, &RenderStyle::setLeft, &RenderStyle::initialOffset, AutoEnabled>::createHandler());
     setPropertyHandler(CSSPropertyLetterSpacing, ApplyPropertyComputeLength<int, &RenderStyle::letterSpacing, &RenderStyle::setLetterSpacing, &RenderStyle::initialLetterWordSpacing, NormalEnabled, ThicknessDisabled, SVGZoomEnabled>::createHandler());
     setPropertyHandler(CSSPropertyLineHeight, ApplyPropertyLineHeight::createHandler());

Modified: trunk/Source/WebCore/css/CSSStyleSelector.cpp (109449 => 109450)


--- trunk/Source/WebCore/css/CSSStyleSelector.cpp	2012-03-01 23:31:10 UTC (rev 109449)
+++ trunk/Source/WebCore/css/CSSStyleSelector.cpp	2012-03-01 23:33:09 UTC (rev 109450)
@@ -3316,9 +3316,6 @@
         return;
 
     // CSS3 Properties
-    case CSSPropertyImageRendering:
-        HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE(imageRendering, ImageRendering);
-        return;
     case CSSPropertyTextShadow:
     case CSSPropertyBoxShadow:
     case CSSPropertyWebkitBoxShadow: {
@@ -3898,6 +3895,7 @@
     case CSSPropertyFontVariant:
     case CSSPropertyFontWeight:
     case CSSPropertyHeight:
+    case CSSPropertyImageRendering:
     case CSSPropertyLeft:
     case CSSPropertyLetterSpacing:
     case CSSPropertyLineHeight:
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to