aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/page.rs
Commit message (Collapse)AuthorAgeFilesLines
* Cargoify servoJack Moffitt2014-09-081-437/+0
|
* Added a fast no-message RPC interface to the layout task.Clark Gaebel2014-09-041-17/+18
|
* Decouple compositing and script crates.Josh Matthews2014-08-081-2/+2
|
* Call the generated rather than the hand-written traits (fixes #2936).Ms2ger2014-07-271-1/+2
|
* Revert "Merge pull request #2819 from bjwbell/iframe-layers"Cameron Zwarich2014-07-191-1/+1
| | | | | This reverts commit 0200b61f713f2cdddcbc06ccd4cb5de11332899a, reversing changes made to ca968219025a46e57b5cd770ae7c8ac5919876b1.
* Restructure compositor layers to work with iframesBryan Bell2014-07-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | When a frame is selected via set_ids, a tree of root compositor layers is also created, matching the tree of pipelines in the frame. This decouples the chronological ordering dependency for parent frames and child iframes sending CreateOrUpdateRootLayer & CreateOrUpdateDescendentLayer messages. Change the Compositor ready and render states to per pipeline. This ensures the compositor doesn't composite for an epoch until every *pipeline* in the epoch is finished rendering. For iframes it fixes a bug where the compositor didnt wait on the child pipeline ready state before compositing the window. Gotchas: * layout task or script task failure on exit ("task '' failed at sending on a closed channel"), this happens if the child iframe shares the same script task as the parent and can be avoided by adding the sandbox attribute to the iframe. Other changes: * Inline set_clipping_rect in compositor.rs * Commented out ref test simple_iframe.html fails on os x
* Made Page.window_size and Page.next_subpage_id Traceable, added trait ↵eshyong2014-07-061-4/+4
| | | | Encodable for WindowSizeData, ViewportPx, PagePx, and DevicePixel
* Use internal mutability for Attr::value.Ms2ger2014-06-221-1/+1
|
* Separate "desktop" and "mobile" zoom calculations.Matt Brubeck2014-06-201-6/+5
| | | | | | | | This ensures that the layout viewport responds to each type of zoom correctly, and lays the ground for CSS Media Queries and CSS Device Adaption. Until we have proper touch support, mobile-style "pinch" zoom can be simulated by holding Ctrl while scrolling with a mousewheel or trackpad gesture.
* Split Page code out of script_task.rs #2530Edit Balint2014-06-131-0/+436