mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07:00
b9f182a6bd
Text can only only inside paragraphs and inlines. This patch makes it so we stop putting such text nodes in the render tree at all if their parent is not a paragraph or an inline. This is the final step in making it so that we don't create anonymous renderers, which fixes a crash in the new custom layout code. R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1077473002
13 lines
254 B
Plaintext
13 lines
254 B
Plaintext
<html>
|
|
<import src="../resources/dump-as-text.sky" />
|
|
<import src="resources/pass.sky" as="hello" />
|
|
<p id="result">FAIL</p>
|
|
<script>
|
|
import "dart:sky";
|
|
|
|
void main() {
|
|
document.getElementById("result").textContent = hello.kHello;
|
|
}
|
|
</script>
|
|
</html>
|