shindig-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Baxter (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SHINDIG-1817) Dynamic height algortihm fail to recognize elements with CSS position fixed and absolute to make it forever increasing in height
Date Tue, 17 Jul 2012 20:54:34 GMT

    [ https://issues.apache.org/jira/browse/SHINDIG-1817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416585#comment-13416585
] 

Ryan Baxter commented on SHINDIG-1817:
--------------------------------------

Dan I don't think we can make such a change while closing down 2.5 (mainly from a spec perspective).
                
> Dynamic height algortihm fail to recognize elements with CSS position fixed and absolute
to make it forever increasing in height
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-1817
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1817
>             Project: Shindig
>          Issue Type: Bug
>          Components: Javascript 
>    Affects Versions: 2.5.0-beta2
>            Reporter: Henry Saputra
>            Assignee: Dan Dumont
>              Labels: dynamic_height, javascript
>             Fix For: 2.5.0-beta3
>
>
> The new algorithm to calculate dynamic height does not consider elements with position
fixed and absolute that are not part of the static flows which could cause forever increase
in height.
> Example gadget:
> <Module>
>   <ModulePrefs title="Dynamic Height Size example with fixed position element test
gadget">
>     <Require feature="dynamic-height" />
>     <Require feature="dynamic-width" />
>   </ModulePrefs>
>   <Content type="html" view="default"><![CDATA[
>     <head>
>       <style type="text/css">
>         body {
>           padding-bottom: 50px;
>         }
>         #wrap {
>           height:100%
>         },
>         #main {
>           padding-bottom: 100px;
> 	      },
> 	      #footer {
> 	        position: fixed;
> 	        height: 50px;
> 	        clear:both;
>           left: 0;
>           bottom: 0;
> 	      }
>       </style>
>       <script type="text/javascript">
>         gadgets.util.registerOnLoadHandler(function() {
>           gadgets.window.adjustHeight();
>           // setting interval for calling gadgets.window.adjustHeight, this shouldnt
>           // cause the gadget to forever increase in height.
>           window.setInterval(gadgets.window.adjustHeight, 5000);
>         });
>       </script>
>     </head>
>     <body id="mainbody">
>       <div id="wrap">
>         <div id="main">
>           Main canvas content.
> 	      </div>
> 	      <div id="footer">
>           Footer element.
>         </div>
>       </div>
>     </body>
>   ]]></Content>
> </Module>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message