CSS "content" property is missing in getComputedStyles
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Jul 2015 16:07:30 +0000 (16:07 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Jul 2015 16:07:30 +0000 (16:07 +0000)
https://bugs.webkit.org/show_bug.cgi?id=147255

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2015-07-24
Reviewed by Simon Fraser.

Source/WebCore:

* css/CSSComputedStyleDeclaration.cpp:

LayoutTests:

* fast/css/getComputedStyle/computed-style-expected.txt:
* fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* fast/css/getComputedStyle/resources/property-names.js:
* svg/css/getComputedStyle-basic-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@187344 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/css/getComputedStyle/computed-style-expected.txt
LayoutTests/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt
LayoutTests/fast/css/getComputedStyle/resources/property-names.js
LayoutTests/svg/css/getComputedStyle-basic-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/css/CSSComputedStyleDeclaration.cpp

index 1742935..9269c55 100644 (file)
@@ -1,3 +1,15 @@
+2015-07-24  Joseph Pecoraro  <pecoraro@apple.com>
+
+        CSS "content" property is missing in getComputedStyles
+        https://bugs.webkit.org/show_bug.cgi?id=147255
+
+        Reviewed by Simon Fraser.
+
+        * fast/css/getComputedStyle/computed-style-expected.txt:
+        * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
+        * fast/css/getComputedStyle/resources/property-names.js:
+        * svg/css/getComputedStyle-basic-expected.txt:
+
 2015-07-24  Csaba Osztrogon√°c  <ossy@webkit.org>
 
         [EFL] many fast tests are flaky
index 5f12fbb..3a142d0 100644 (file)
@@ -37,6 +37,7 @@ caption-side: top;
 clear: none;
 clip: auto;
 color: rgb(0, 0, 0);
+content: ;
 cursor: auto;
 direction: ltr;
 display: block;
index d83624b..b09c71b 100644 (file)
@@ -168,6 +168,7 @@ var propertiesToTest = {
     "color-interpolation": true,
     "color-interpolation-filters": true,
     "color-rendering": true,
+    "content": true,
     "cursor": true,
     "direction": true,
     "display": true,
index d3935c1..feb8453 100644 (file)
@@ -72,6 +72,8 @@ rect: style.getPropertyValue(clip) : auto
 rect: style.getPropertyCSSValue(clip) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(color) : rgb(0, 0, 0)
 rect: style.getPropertyCSSValue(color) : [object CSSPrimitiveValue]
+rect: style.getPropertyValue(content) : 
+rect: style.getPropertyCSSValue(content) : [object CSSValueList]
 rect: style.getPropertyValue(cursor) : auto
 rect: style.getPropertyCSSValue(cursor) : [object CSSPrimitiveValue]
 rect: style.getPropertyValue(direction) : ltr
@@ -594,6 +596,8 @@ g: style.getPropertyValue(clip) : auto
 g: style.getPropertyCSSValue(clip) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(color) : rgb(0, 0, 0)
 g: style.getPropertyCSSValue(color) : [object CSSPrimitiveValue]
+g: style.getPropertyValue(content) : 
+g: style.getPropertyCSSValue(content) : [object CSSValueList]
 g: style.getPropertyValue(cursor) : auto
 g: style.getPropertyCSSValue(cursor) : [object CSSPrimitiveValue]
 g: style.getPropertyValue(direction) : ltr
index c7ad3c8..e432f2f 100644 (file)
@@ -1,3 +1,12 @@
+2015-07-24  Joseph Pecoraro  <pecoraro@apple.com>
+
+        CSS "content" property is missing in getComputedStyles
+        https://bugs.webkit.org/show_bug.cgi?id=147255
+
+        Reviewed by Simon Fraser.
+
+        * css/CSSComputedStyleDeclaration.cpp:
+
 2015-07-24  Carlos Garcia Campos  <cgarcia@igalia.com>
 
         [GStreamer] Crashes during plugin installation
index bbf94a0..f2446a3 100644 (file)
@@ -144,6 +144,7 @@ static const CSSPropertyID computedProperties[] = {
     CSSPropertyClear,
     CSSPropertyClip,
     CSSPropertyColor,
+    CSSPropertyContent,
     CSSPropertyCursor,
     CSSPropertyDirection,
     CSSPropertyDisplay,