edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
* [Edbrowse-dev] rawstory and CSS.. a false start
@ 2017-01-29  5:57 Kevin Carhart
  0 siblings, 0 replies; only message in thread
From: Kevin Carhart @ 2017-01-29  5:57 UTC (permalink / raw)
  To: Edbrowse-dev



I can get Raw Story to work by taking away the CSSStyleDeclaration 
prototype from the very bottom of startwindow.js.  I'm not sure if this is 
the real cause, or just something that makes the site end early on a bug.

If CSSStyleDeclaration.prototype exists and getPropertyValue is 
implemented, you get the seg fault some time after some CSS work, which 
does not mean there couldn't be something unreported happening in between:

(my alert statements are shown)

trying to set the style paddingRight to zero
the style was set to zero
trying to set the style borderRightWidth to zero
the style was set to zero
trying to set the style paddingLeft to zero
the style was set to zero
trying to set the style borderLeftWidth to zero
the style was set to zero
trying to set the style display to zero
the style was set to zero
trying to set the style width to zero
the style was set to zero
Segmentation fault (core dumped)

If I erase the CSSStyleDeclaration prototype entirely, plain text articles 
on the website are available again, but the diagnostic output has this:

< side effects
l{c|0x7f09c662c440,div 0x0, 0x0, `~@}
l{c|0x7f09c662c4c0,div 0x0, 0x0, `~@}
l{a|0x7f09c6d727c0,body 0x7f09c662c4c0,div 0x0, `~@}
l{a|0x7f09c662c4c0,div 0x7f09c662c440,div 0x0, `~@}
l{r|0x7f09c6d727c0,body 0x7f09c662c4c0,div 0x0, `~@}
TypeError: c.getPropertyValue is not a function

It wants to call getPropertyValue and can't

So maybe all I'm seeing is something comparable to the fact that Raw Story 
works if you disable js, too.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-01-29  5:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-29  5:57 [Edbrowse-dev] rawstory and CSS.. a false start Kevin Carhart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).