Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-underline-position-expected.txt

Issue 709193003: Don't require getPropertyCSSValue in css3-text getComputedStyle tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-underline-position-expected.txt
diff --git a/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-underline-position-expected.txt b/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-underline-position-expected.txt
index cb0aa8ef5dead65d8d972deb8ddd39bf760c7afe..4fdb7a753cc0ca971f6fa2b332a7b628660ef940 100644
--- a/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-underline-position-expected.txt
+++ b/LayoutTests/fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-underline-position-expected.txt
@@ -1,58 +1,43 @@
-Test to make sure text-underline-position property returns values properly.
+Test to make sure text-underline-position is computed properly.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Initial value:
-PASS e.style.getPropertyCSSValue('text-underline-position') is null
-PASS computedStyle.textUnderlinePosition is 'auto'
-PASS computedStyle.getPropertyCSSValue('text-underline-position').toString() is '[object CSSPrimitiveValue]'
-PASS computedStyle.getPropertyCSSValue('text-underline-position').cssText is 'auto'
+PASS e.style.textUnderlinePosition is ""
+PASS computedStyle.textUnderlinePosition is "auto"
Value '':
-PASS e.style.getPropertyCSSValue('text-underline-position') is null
-PASS computedStyle.textUnderlinePosition is 'auto'
-PASS computedStyle.getPropertyCSSValue('text-underline-position').toString() is '[object CSSPrimitiveValue]'
-PASS computedStyle.getPropertyCSSValue('text-underline-position').cssText is 'auto'
+PASS e.style.textUnderlinePosition is ""
+PASS computedStyle.textUnderlinePosition is "auto"
Initial value (explicit):
-PASS e.style.textUnderlinePosition is 'initial'
-PASS e.style.getPropertyCSSValue('text-underline-position').toString() is '[object CSSValue]'
-PASS e.style.getPropertyCSSValue('text-underline-position').cssText is 'initial'
-PASS computedStyle.textUnderlinePosition is 'auto'
-PASS computedStyle.getPropertyCSSValue('text-underline-position').toString() is '[object CSSPrimitiveValue]'
-PASS computedStyle.getPropertyCSSValue('text-underline-position').cssText is 'auto'
+PASS e.style.textUnderlinePosition is "initial"
+PASS computedStyle.textUnderlinePosition is "auto"
Value 'auto':
-PASS e.style.textUnderlinePosition is 'auto'
-PASS e.style.getPropertyCSSValue('text-underline-position').toString() is '[object CSSPrimitiveValue]'
-PASS e.style.getPropertyCSSValue('text-underline-position').cssText is 'auto'
-PASS computedStyle.textUnderlinePosition is 'auto'
-PASS computedStyle.getPropertyCSSValue('text-underline-position').toString() is '[object CSSPrimitiveValue]'
-PASS computedStyle.getPropertyCSSValue('text-underline-position').cssText is 'auto'
+PASS e.style.textUnderlinePosition is "auto"
+PASS computedStyle.textUnderlinePosition is "auto"
Value 'under':
-PASS e.style.textUnderlinePosition is 'under'
-PASS e.style.getPropertyCSSValue('text-underline-position').toString() is '[object CSSPrimitiveValue]'
-PASS e.style.getPropertyCSSValue('text-underline-position').cssText is 'under'
-PASS computedStyle.textUnderlinePosition is 'under'
-PASS computedStyle.getPropertyCSSValue('text-underline-position').toString() is '[object CSSPrimitiveValue]'
-PASS computedStyle.getPropertyCSSValue('text-underline-position').cssText is 'under'
+PASS e.style.textUnderlinePosition is "under"
+PASS computedStyle.textUnderlinePosition is "under"
Ancestor inherits values from parent:
-PASS e.style.getPropertyCSSValue('text-underline-position') is null
-PASS computedStyle.textUnderlinePosition is 'under'
-PASS computedStyle.getPropertyCSSValue('text-underline-position').toString() is '[object CSSPrimitiveValue]'
-PASS computedStyle.getPropertyCSSValue('text-underline-position').cssText is 'under'
+PASS e.style.textUnderlinePosition is ""
+PASS computedStyle.textUnderlinePosition is "under"
Value 'auto under':
-PASS e.style.getPropertyCSSValue('text-underline-position') is null
+PASS e.style.textUnderlinePosition is ""
+PASS computedStyle.textUnderlinePosition is "under"
Value 'under under':
-PASS e.style.getPropertyCSSValue('text-underline-position') is null
+PASS e.style.textUnderlinePosition is ""
+PASS computedStyle.textUnderlinePosition is "under"
-Value 'under under under':
-PASS e.style.getPropertyCSSValue('text-underline-position') is null
+Value 'auto alphabetic under':
+PASS e.style.textUnderlinePosition is ""
+PASS computedStyle.textUnderlinePosition is "under"
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698