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

Unified Diff: LayoutTests/fast/css/shorthand-setProperty-important-expected.txt

Issue 180353002: Make getProperty more strict when handling the priority parameter (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add idl change to distinguish between null and empty string Created 6 years, 10 months 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
« no previous file with comments | « LayoutTests/fast/css/shorthand-setProperty-important.html ('k') | Source/core/css/CSSStyleDeclaration.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/shorthand-setProperty-important-expected.txt
diff --git a/LayoutTests/fast/css/shorthand-setProperty-important-expected.txt b/LayoutTests/fast/css/shorthand-setProperty-important-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ae144e707c91dfe3df4d6b9eb927d1306064dd24
--- /dev/null
+++ b/LayoutTests/fast/css/shorthand-setProperty-important-expected.txt
@@ -0,0 +1,17 @@
+Verify that the priority parameter is a case-insensitive match to 'important' or the empty string.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS e.style.getPropertyValue('border-bottom-style') is null
+PASS e.style.getPropertyPriority('border-bottom-style') is ''
+PASS e.style.getPropertyValue('border-bottom-style') is null
+PASS e.style.getPropertyPriority('border-bottom-style') is ''
+PASS e.style.getPropertyValue('border-bottom-style') is 'solid'
+PASS e.style.getPropertyPriority('border-bottom-style') is 'important'
+PASS e.style.getPropertyValue('border-bottom-style') is null
+PASS e.style.getPropertyPriority('border-bottom-style') is ''
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/css/shorthand-setProperty-important.html ('k') | Source/core/css/CSSStyleDeclaration.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698