Changes

Jump to: navigation, search

Firefox OS/Performance/App Performance Validation

171 bytes added, 21:36, 25 February 2014
2. Reflows/Restyles
'''Platform Contact''': Layout team
'''What does it mean''':  NOTE: All the following information applies for Restyles. Consider minimizing restyles, avoiding sync style queries and batching all style changes in the frame & event. Reflowing the page is the process of deciding where all the DOM elements will be positioned the page. Any changes to the page that has the potential of effecting the flow of the page will have to reflow the page again. The larger the DOM the longer this can potentially take.
Reflowing is expected as the page/app is being loaded. Once the page is ready, app author should carefully consider what interactions should make changes that can affects the flow of the document. If changes to the page are required they should happen in the '''same frame/refresh tick''' as all changes will be validated at the same time.
Confirm
336
edits

Navigation menu