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

Unified Diff: sky/tests/layout/custom-dirty-bits.sky

Issue 1077473002: Stop rendering text inside flex boxes. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: make p default to display: paragraph Created 5 years, 8 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 | « sky/tests/layout/continuations-expected.txt ('k') | sky/tests/layout/custom-dirty-bits-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/layout/custom-dirty-bits.sky
diff --git a/sky/tests/layout/custom-dirty-bits.sky b/sky/tests/layout/custom-dirty-bits.sky
new file mode 100644
index 0000000000000000000000000000000000000000..ec5b750956d42d862cec128feeab4f6dda97e097
--- /dev/null
+++ b/sky/tests/layout/custom-dirty-bits.sky
@@ -0,0 +1,16 @@
+<import src="../resources/dump-as-render-tree.sky" />
+
+<block>hello</block>
+
+<script>
+import 'dart:sky';
+
+void main() {
+ // This tests custom layout of text nodes inside non-paragraphs.
+ // They shouldn't show up in the render tree at all, so they
+ // don't need laying out.
+ // This test passes if it doesn't crash and the render tree
+ // has no RenderTexts.
+ document.querySelector('block').setLayoutManager(() => {});
+}
+</script>
« no previous file with comments | « sky/tests/layout/continuations-expected.txt ('k') | sky/tests/layout/custom-dirty-bits-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698