Ojan Vafai
b9f182a6bd
Stop rendering text inside flex boxes.
...
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
2015-04-09 11:40:03 -07:00
Elliott Sprehn
0275d42ac7
Add the <t> element and ignore whitespace outside it.
...
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
2015-01-23 16:50:00 -08:00
Elliott Sprehn
f1a6cd9799
Use a JS markup serializer.
...
This makes MarkupAccumulator and all related code into dead code.
R=ojan@chromium.org
Review URL: https://codereview.chromium.org/771093002
2014-12-02 10:09:35 -08:00
Eric Seidel
a934c7fc09
Switch test_sky to sky_server
...
Adam did this in:
https://codereview.chromium.org/699333002
But later reverted in:
https://codereview.chromium.org/692333007
The problem was that the path to sky_server
was being computed relative to the sky
directory instead of being absolute, so when
the bots tried to run test_sky from the root
mojo directory instead of mojo/sky they failed.
TBR=abarth@chromium.org
Review URL: https://codereview.chromium.org/704833002
2014-11-05 13:08:49 -08:00
Adam Barth
46a9ce7254
Switch test_sky back to apache
...
This CL reverts my previous change because it didn't work on the bots.
TBR=eseidel@chromium.org
Review URL: https://codereview.chromium.org/692333007
2014-11-04 17:30:25 -08:00
Adam Barth
36d547f018
Switch test_sky from apache to sky_server
...
After this CL, test_sky uses the same server as skydb.
R=eseidel@chromium.org , ojan@chromium.org
Review URL: https://codereview.chromium.org/699333002
2014-11-04 16:42:29 -08:00
Adam Barth
4240a776a4
Replace <link rel="import"> with <import>
...
This CL is just a search-and-replace.
R=esprehn@chromium.org
Review URL: https://codereview.chromium.org/694423002
2014-11-03 12:34:57 -08:00
Adam Barth
8385799d73
Fix line numbers in JavaScript stack traces
...
Instead of calling the function constructor to compile script in Sky, we now
concatenate strings. This has the advantage of making the line numbers
generated in error messages correct but the disadvantage of being a hack. I've
filed https://code.google.com/p/v8/issues/detail?id=3624 to request a proper
API for this purpose.
R=esprehn@chromium.org
Review URL: https://codereview.chromium.org/688033003
2014-10-29 14:00:57 -07:00
Hixie
d7dbe841b4
This CL provides a bunch of new parser tests, and updates the
...
TestExpectations file to skip the ones that fail or crash. It also
updates the TestExpectations parser to support URLs pointing to the
mojo repo's issue tracker.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/685593006
2014-10-28 18:58:18 -07:00
Hixie
de0ba17e8f
Move the tests from .html to .sky
...
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/685623002
2014-10-27 17:35:15 -07:00
Adam Barth
710a717192
Parse comments according to parsing.md
...
Now we don't even generate comment tokens. The new tokenizer for comments is
much easier.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/682893002
2014-10-27 17:04:52 -07:00
Adam Barth
5d98345d17
Parse Sky entities according to the spec
...
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/678073002
2014-10-27 13:05:31 -07:00