List Info

Thread: Re: SimpleWebKit - Status




Re: SimpleWebKit - Status
country flaguser name
Germany
2007-03-15 04:18:35
Peter, Riccardo, Group,
just to keep you informed, I am still trying to find out why
my GNA  
account has no svn+ssh access...

In the meantime I am continuing to fix bugs and rework the 

architectue. Here is a "status list" for some web
pages

http://www.quantum-step.c
om		loads main page but does not redirect
http://www.gnustep.org			l
oads main page with formatting issues; does  
not show images
http://www.fsf.org					shows
document title; hangs
http://www.google.com			loa
ds but does not show content
http://www.apple.com				show
s document title; hangs
http://www.apple.de				loads
but shows content only after reload
http://www.yahoo.de				shows
document title; hangs
frameset.html					hangs with exception
headerbody.html					hangs
headerbody.html					hangs
robustness.html					renders text more or less ok


Where I have no clear solution is how subresources (e.g. an
embedded  
<img>) correctly notify the visual elemens (which is a
subclass of  
NSImageCell embedded as an NSTextAttachment in an
NSTextView) that  
their content has changed.

Another unsolved issue is how the loading mechanism should
enable the  
CSS parser to handle <style
type="text/css">import
"URL"</style>  
which needs to resume parsing onlyy after the subresource
data  
becomes available. Well, parsing could trigger loading of
the  
subresource unless it has already been loaded and stop.
Completion of  
the subresource could restart the full CSS parse process.

Best regards,
Nikolaus





_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustepgnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Re: SimpleWebKit - Status
country flaguser name
Australia
2007-03-15 06:49:19
Hi Nikolaus

> Where I have no clear solution is how subresources
(e.g. an embedded
<img>) correctly notify the visual elemens (which is a
subclass of
NSImageCell embedded as an NSTextAttachment in an
NSTextView) that their
content has changed.

My suggestion is to put a placeholder NSTextAttachment
(perhaps a "broken
image" icon as per other browsers) into the NSTextView
and defer putting
the real resource in until the resource has loaded. The
image or object
tag exists in the DOM tree, and your queued loading activity
can backfill
any references and the correct NSTextAttachment when
complete.

> Another unsolved issue is how the loading mechanism
should enable the
CSS parser to handle <style
type="text/css">import
"URL"</style> which
needs to resume parsing onlyy after the subresource data
> becomes available. Well, parsing could trigger loading
of the
> subresource unless it has already been loaded and stop.
Completion of
the subresource could restart the full CSS parse process.

I'd agree with this. A key user experience optimisation
would be creating
an idea of a "settling time" for the document -
mark the document dirty
and wait for either a small time (0.5 seconds) with no
further successful
resource loads or for the completion (successful or
otherwise) of all
resource loads before triggering a full CSS parse and
therefore
re-rendering.

Regards

Peter






_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustepgnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )