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

Unified Diff: LayoutTests/fast/alignment/parse-justify-self-expected.txt

Issue 17090005: [CSS Grid Layout] Implement 'justify-self' parsing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed a bug in parseColor uncovered by the patch Created 6 years, 11 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
Index: LayoutTests/fast/alignment/parse-justify-self-expected.txt
diff --git a/LayoutTests/fast/alignment/parse-justify-self-expected.txt b/LayoutTests/fast/alignment/parse-justify-self-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c63f2ddffca16399aa3c82acb9a9d900c1415ad3
--- /dev/null
+++ b/LayoutTests/fast/alignment/parse-justify-self-expected.txt
@@ -0,0 +1,61 @@
+Test that setting and getting justify-self works as expected
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Test getting justify-self set through CSS
+PASS getComputedStyle(justifySelfBaseline, '').getPropertyValue('justify-self') is 'baseline'
+PASS getComputedStyle(justifySelfStretch, '').getPropertyValue('justify-self') is 'stretch'
+PASS getComputedStyle(justifySelfStart, '').getPropertyValue('justify-self') is 'start'
+PASS getComputedStyle(justifySelfEnd, '').getPropertyValue('justify-self') is 'end'
+PASS getComputedStyle(justifySelfCenter, '').getPropertyValue('justify-self') is 'center'
+PASS getComputedStyle(justifySelfSelfEnd, '').getPropertyValue('justify-self') is 'self-end'
+PASS getComputedStyle(justifySelfSelfStart, '').getPropertyValue('justify-self') is 'self-start'
+PASS getComputedStyle(justifySelfLeft, '').getPropertyValue('justify-self') is 'left'
+PASS getComputedStyle(justifySelfRight, '').getPropertyValue('justify-self') is 'right'
+PASS getComputedStyle(justifySelfEndTrue, '').getPropertyValue('justify-self') is 'end true'
+PASS getComputedStyle(justifySelfCenterTrue, '').getPropertyValue('justify-self') is 'center true'
+PASS getComputedStyle(justifySelfSelfEndSafe, '').getPropertyValue('justify-self') is 'self-end safe'
+PASS getComputedStyle(justifySelfSelfStartSafe, '').getPropertyValue('justify-self') is 'self-start safe'
+PASS getComputedStyle(justifySelfRightSafe, '').getPropertyValue('justify-self') is 'right safe'
+PASS getComputedStyle(justifySelfLeftTrue, '').getPropertyValue('justify-self') is 'left true'
+
+Test initial value of justify-self through JS
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'auto'
+
+Test getting and setting justify-self through JS
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'center'
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'start true'
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'auto'
+
+Test bad combinaisons of justify-self
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'auto'
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'auto'
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'auto'
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'auto'
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'auto'
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'auto'
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'auto'
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'auto'
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'auto'
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'auto'
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'auto'
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'auto'
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'auto'
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'auto'
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'auto'
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'auto'
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'auto'
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'auto'
+
+Test the value 'initial'
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'center'
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'auto'
+
+Test the value 'inherit'
+PASS getComputedStyle(parentElement, '').getPropertyValue('justify-self') is 'end'
+PASS getComputedStyle(element, '').getPropertyValue('justify-self') is 'end'
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698