[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/khtml/html
From:       Peter Kelly <pmk () post ! com>
Date:       2003-08-14 13:57:09
[Download RAW message or body]

CVS commit by pmk: 

Fix for alternate stylesheets being enabled during loading causing the
page not to display (zeldman.com)

Could someone review this? I'm unsure if this is the correct solution for
all cases.


  M +1 -1      html_headimpl.cpp   1.103


--- kdelibs/khtml/html/html_headimpl.cpp  #1.102:1.103
@@ -139,5 +139,5 @@ void HTMLLinkElementImpl::parseAttribute
             // a main sheet or a sheet that was previously enabled via script, then we need
             // to remove it from the list of pending sheets.
-            if (isLoading() && m_isDisabled && (!m_alternate || m_oldisDisabled))
+            if (isLoading() && m_isDisabled)
                 getDocument()->styleSheetLoaded();
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic