edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
From: Kevin Carhart <kevin@carhart.net>
To: edbrowse-dev@lists.the-brannons.com
Subject: Re: [edbrowse-dev] home runs (fwd)
Date: Mon, 21 May 2018 02:50:03 -0700 (PDT)	[thread overview]
Message-ID: <alpine.LRH.2.03.1805210235310.26234@carhart.net> (raw)
In-Reply-To: <20180420222456.eklhad@comcast.net>


> Well it's not our highest priority, since I can type hover and bring everything back in,
> or better still, run without js, which isn't needed here,
> but it just nags at me a bit.


Me too, I was hoping to get it.  Ok, I do have one more idea that I was 
pursuing for a little while today!

When edbrowse loads the baseball reference, it says in the source, near 
the top:
<!-- no:cookie fast load the css.           -->

So then the css is inline and when your CSS code runs in startwindow and 
gathers the "link" and "style" sources, I believe it picks up the CSS from 
inline CSS and not also from the file: 
https://d2p3bygnnzw9w3.cloudfront.net/req/201805182/css/br/sr-min.css

Now contrast this with firefox.  When I go to the baseball reference in 
firefox, it says this:
<!-- yes:cookie regular load the cached css -->

There is no inline CSS block.  It loads sr-min.css.

Now it appears that these two chunks of CSS are different.  The inline 
block has around 24000 characters and it actually ends on :
.f-i,#footer,#content,#inner_nav,#srcom{display:none}

While the file sr-min.css has 138000 characters and actually contains 
this:
.f-i,#footer,#content,#inner_nav,#srcom{display:none}#footer,#content,#inner_nav,#srcom{display:block}

Is it possible that the CSS to set display:block is not reached because of 
the difference between the inline CSS and the link?

Sorry if you've covered this and are aware of this already.  I wonder what 
cookie it's referring to.  When I run with db3, it shows that there are 
plenty of cookies being processed.

Kevin


      reply	other threads:[~2018-05-21  9:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-21  1:37 Kevin Carhart
2018-05-21  2:24 ` Karl Dahlke
2018-05-21  9:50   ` Kevin Carhart [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LRH.2.03.1805210235310.26234@carhart.net \
    --to=kevin@carhart.net \
    --cc=edbrowse-dev@lists.the-brannons.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).