[webkit-help] New platform layout/rendering problem
Ben Nason
bnason at netflix.com
Thu Oct 8 17:11:17 PDT 2009
Hi,
I'm replying to my own post:
> I am porting WebKit to a new platform. I have done a lot of the work,
but I
> am having trouble getting the layout/rendering to work correctly.
[snip]
> And attached is a screen capture of the resulting rendered output. As
you
> can see, all layout and style information seems to be getting stripped
out
> or ignored, with the exception of the <br> tag.
After looking into this a lot more today, I'm pretty sure there is a
failure
in the low level CSS parsing, which is causing the style matching to
always
get the default style, which renders inline for everything. What makes
me
think this is that CSSParser::addProperty() never gets called, nor do
any of
the higher level parseRule()/parseValue()/etc. functions, with the
exception
of parseString() and parseSheet().
So at this point I suspect a problem inside CSSGrammar.cpp, but since
it's
generated from CSSGrammar.y it is really difficult to understand what is
going
on in there. Is there anyone who understands that stuff well enough to
help me
out in any way?
Thanks,
Ben
More information about the webkit-help
mailing list