mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
9e1cbea297
In order to support asynchronous loading of extension content scripts, we need to be able to exit the HTML parser flush loop immediately after inserting the document element. Normally this doesn't cause problems, but when we enter edit mode with an empty element selected, the editor inserts a <br> node, and a <br> node at the start of the <html> element causes issues. These changes solve that issue by putting off entering editor mode until we begin laying out the document. MozReview-Commit-ID: H2ksNz0jRxs --HG-- extra : rebase_source : 26e0d254744363f5bd60f3b4f4df7b51c3dc446f |
||
---|---|---|
.. | ||
base | ||
build | ||
resources/content | ||
shistory | ||
test | ||
moz.build |