mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
We now only preserve the whitespace inside a <t> element inside the parser. This removes the known n^2 from reattaching whitespace which should make parsing and appending nodes faster. I also removed the dead WhitespaceMode code from the parser, and made the dom-seralizer.sky auto indent the markup so the test output would be readable. R=abarth@chromium.org Review URL: https://codereview.chromium.org/867963006
50 lines
538 B
Plaintext
50 lines
538 B
Plaintext
<html>
|
|
<import src="../resources/dump-as-markup.sky"></import>
|
|
<body>
|
|
<style>
|
|
& TEST <a></a>
|
|
</style>
|
|
<STYLE>
|
|
& TEST <a></a>
|
|
</STYLE>
|
|
<style>
|
|
& TEST
|
|
<STYLE>
|
|
& TEST <a></a>
|
|
</STYLE>
|
|
& TEST
|
|
</style>
|
|
<STYLE>
|
|
& TEST
|
|
<style>
|
|
TEST <a></a>
|
|
</STYLE>
|
|
& TEST
|
|
</style>
|
|
& TEST
|
|
</STYLE>
|
|
<style> TEST </style>
|
|
|
|
<
|
|
style
|
|
> & TEST
|
|
|
|
& TEST
|
|
|
|
<style> & TEST </
|
|
style>
|
|
& TEST
|
|
</style>
|
|
<style> & TEST </styl>
|
|
& TEST
|
|
</style>
|
|
<style> & TEST <//style>
|
|
& TEST
|
|
</style>
|
|
|
|
& TEST
|
|
|
|
</body>
|
|
</html>
|
|
|