| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
And likewise for |ProfilerChan|, |profiler_chan|, and so on. This
contrasts nicely with the newly added |MemoryProfiler|.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
This fixes an issue where the CSS viewport was too large on high-DPI displays
because it was set to the window size in device pixels, instead of px. This
patch ensures that the window size is converted from device pixels to px
before being passed to script/layout code.
The Window trait now exposes the window size in both device pixels and
density-independent screen coordinates, with clearer method names.
|
| |
|
|
|
|
| |
Also, derive Clone rather than implementing it manually.
|
| |
|
| |
|
|
|
|
| |
This will make the distinction clearer with the subpage ID field to be added.
|
|
|
|
|
| |
The ScriptTask is only reused for subpages, so there's no reason to pass an
Option.
|
|
|
|
| |
It is never mutated, and never None.
|
|
|
|
|
|
| |
April 10, 2014. The main changes are to privacy, to work around the
issues with incorrect bounds on the libstd `Arc<Mutex<T>>`, and the
various API changes strewn throughout the libraries.
|
|\
| |
| |
| |
| |
| | |
...k-related reasons.
Under the hood, this requires treating the I Tried pipeline as a new load instead of a replacement, since the failure-handling code interacts poorly with the rest of the replacement code when we get a series of staggered failures over time from the various pipeline components.
|
| |
| |
| |
| |
| |
| | |
network-related reasons.
Under the hood, this requires treating the I Tried pipeline as a new load instead of a replacement, since the failure-handling code interacts poorly with the rest of the replacement code when we get a series of staggered failures over time from the various pipeline components.
|
|/
|
|
|
|
| |
This fixes two `RefCell<T> is already borrowed` failures when reloading an
existing pipeline, both caused by functions trying to modify `Pipeline::url`
or `ScriptTask::url` while a reference to a previous borrow is still in scope.
|
|
|
|
| |
It's going away in the next Rust upgrade.
|
| |
|
| |
|
|
|
|
| |
pipeline. This handles fixed positioning mostly correctly.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
We probably leak some threads and resources, e.g. when the script task crashes
and doesn't get a chance to send layout data back to layout to be deallocated.
Not tested with iframes yet.
|
|
|
|
|
|
|
|
|
|
|
| |
from the Compositor instead of a message with an immediate callback.
The problem was that the old model introduced a potential deadlock. If
the Constellation had a pending RenderReadyMsg in its queue when the
ExitMsg arrived from the Compositor, the Compositor would exit its
message loop and wait for the response from the Constellation. But,
the Constellation would send a SetIds message to the Compositor, which
also required a response - resulting in deadlock.
|
| |
|
|\
| |
| |
| |
| |
| | |
This fixes the `getBoundingClientRect()` content test.
r? @jdm
|
| |
| |
| |
| | |
This fixes the `getBoundingClientRect()` content test.
|
| |
| |
| |
| | |
DOM access during reflow.
|
|/
|
|
| |
Fixes #1097.
|
|
|
|
|
|
| |
This will allow us to stop going to the DOM in order to handle iframe
sizing. Instead we can just store the pipeline and frame IDs of iframes
inside the flow tree itself.
|
|
|
|
| |
Fixes #1380.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
This was a very old (May 2012) testing feature which used
std::io::read_whole_file rather than our normal resource-loader mechanism.
We can implement javascript: URLs later.
|
|
|
|
| |
after it's shut down.
|
| |
|
| |
|
|
|
|
|
|
| |
script task sent RendererReadyMsg after every reflow.
now, the renderer sends RendererReady at the appropriate time,
and _only_ if it doesn't have paint permission.
|
| |
|
|
|
|
|
|
|
|
| |
created by script, rendering, and layout. When any of those fail,
the pipeline is removed from the FrameTree and a new one is created
with a failure HTML file.
Additionally, the top-level Makefile is changed to store debug info.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|