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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/dir-auto-insert-text-invalidation-expected.txt

Issue 1817143002: Use LocalStyleChange for text direction changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: third_party/WebKit/LayoutTests/fast/dom/dir-auto-insert-text-invalidation-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/dom/dir-auto-insert-text-invalidation-expected.txt b/third_party/WebKit/LayoutTests/fast/dom/dir-auto-insert-text-invalidation-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a6eb9ca49727874e6530af1f985332838e6ab760
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/dom/dir-auto-insert-text-invalidation-expected.txt
@@ -0,0 +1,27 @@
+Style invalidation when inserting RTL text descendant of dir=auto
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS getComputedStyle(outerAuto).direction is "ltr"
+PASS getComputedStyle(textInsertionPoint).direction is "ltr"
+PASS getComputedStyle(affectedByAuto).direction is "ltr"
+PASS getComputedStyle(explicitLTR).direction is "ltr"
+PASS internals.updateStyleAndReturnAffectedElementCount() is 4
+PASS getComputedStyle(outerAuto).direction is "rtl"
+PASS getComputedStyle(textInsertionPoint).direction is "rtl"
+PASS getComputedStyle(affectedByAuto).direction is "rtl"
+PASS getComputedStyle(explicitLTR).direction is "ltr"
+
+Forcing everything back to LTR with dir attribute:
+
+PASS internals.updateStyleAndReturnAffectedElementCount() is 4
+PASS getComputedStyle(outerAuto).direction is "ltr"
+PASS getComputedStyle(textInsertionPoint).direction is "ltr"
+PASS getComputedStyle(affectedByAuto).direction is "ltr"
+PASS getComputedStyle(explicitLTR).direction is "ltr"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+؄ل
+

Powered by Google App Engine
This is Rietveld 408576698