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

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: Scrubbed and rebaselined patch Created 7 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/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..e4dc11931365d9b5024669d369c6273decf95ee4
--- /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'
+FAIL getComputedStyle(justifySelfLeft, '').getPropertyValue('justify-self') should be left. Was baseline.
+FAIL getComputedStyle(justifySelfRight, '').getPropertyValue('justify-self') should be right. Was center.
+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'
+FAIL getComputedStyle(justifySelfRightSafeTrue, '').getPropertyValue('justify-self') should be right safe true. Was auto.
+FAIL getComputedStyle(justifySelfLeftTrueSafe, '').getPropertyValue('justify-self') should be left true safe. Was auto.
+
+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