| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| | |
|
| |
| |
| |
| | |
They were used for Root members, but those no longer use lifetimes.
|
|\ \
| |/
|/|
| |
| |
| |
| |
| | |
Table layout code has been refactored to push the spacing down to
rowgroups and rows; this will aid the implementation of
`border-collapse` as well.
r? @SimonSapin
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
`cellspacing` attribute per HTML5 § 14.3.9.
Table layout code has been refactored to push the spacing down to
rowgroups and rows; this will aid the implementation of
`border-collapse` as well.
This commit also fixes two nasty issues in table layout:
* In fixed layout, extra space would not be divided among columns that
had auto width but had nonzero minimum width.
* In automatic layout, extra space would be distributed to constrained
columns as well even if unconstrained columns with percentage equal to
zero were present.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As noted by @bholley. "unwrap" is confusing because we are
both stripping off wrappers *and* getting a native from a
reflector. Changing the "unwrap" usage to "native_from_reflector"
for clarity.
This renames 'unwrap' to 'native_from_reflector' and
'unwrap_jsmanaged' to 'native_from_reflector_jsmanaged'.
|
| | |
|
|/
|
|
| |
This fixes some test failures that begin occurring when other events (such as resize) are fixed to only occur when needed.
|
|\
| |
| |
| |
| | |
This patch enables the use of `arc()` on the canvas.
I couldn't add reftest this time, as it involves some antialiasing issues, and so the reference doesn't match.
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
Opening this PR to invite feedback.
Of the many `match` statement candidates for conversion to `if let`, several included `if` guards. Since `if let` doesn't support this syntax, I used nested if statements. If this is undesirable, say the word and I can revert those cases to `match`.
|
| |/ |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Only simple alphabetic and numeric counter styles are supported. (This
is most of them though.)
Although this PR adds a sequential pass to layout, I verified that on
pages that contain a reasonable number of ordered lists (Reddit
`/r/rust`), the time spent in generated content resolution is dwarfed by
the time spent in the parallelizable parts of layout. So I don't expect
this to negatively affect our parallelism expect perhaps in pathological
cases.
Reconstructed from #5138 via raw diffing.
r? @SimonSapin
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
§ 12.3-12.5.
Only simple alphabetic and numeric counter styles are supported. (This
is most of them though.)
Although this PR adds a sequential pass to layout, I verified that on
pages that contain a reasonable number of ordered lists (Reddit
`/r/rust`), the time spent in generated content resolution is dwarfed by
the time spent in the parallelizable parts of layout. So I don't expect
this to negatively affect our parallelism expect perhaps in pathological
cases.
|
|/
|
|
| |
introduction of Worker::WorkerErrorHandler (Closes #5171).
|
|\ |
|
| |
| |
| |
| |
| | |
Start servo with -Z relayout-event and you should have
reflow events printed to the terminal.
|
|\ \
| | |
| | |
| | | |
Fixes #4089
|
| | |
| | |
| | |
| | | |
Fixes #4089
|
| | | |
|
|\ \ \
| |_|/
|/| |
| | | |
Fixes #5112, #3960
|
| |/ |
|
| |
| |
| |
| | |
for flush_layout().
|
| |
| |
| |
| | |
reflectors. Change the order of operations when shutting down the script task to ensure that Window globals aren't used after they've been GCed.
|
| | |
|
| |
| |
| |
| | |
Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal.
|
|\ \ |
|
| |/ |
|
| |
| |
| |
| | |
This reverts commit 30fd28d1077fbb3f47140f6ab1252c0d24f44d23.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
`background-size` per CSS-BACKGROUNDS § 3.9.
Nearest neighbor interpolation is used for `crisp-edges`, like Firefox.
A note has been added that we could do better if we wanted to.
Multiple backgrounds are not yet supported.
Rebase of #4368. Fixes #4368.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
`background-size` per CSS-BACKGROUNDS § 3.9.
Nearest neighbor interpolation is used for `crisp-edges`, like Firefox.
A note has been added that we could do better if we wanted to.
Multiple backgrounds are not yet supported.
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Only simple alphabetic and numeric counter styles are supported. (This
is most of them though.)
Although this PR adds a sequential pass to layout, I verified that on
pages that contain a reasonable number of ordered lists (Reddit
`/r/rust`), the time spent in generated content resolution is dwarfed by
the time spent in the parallelizable parts of layout. So I don't expect
this to negatively affect our parallelism expect perhaps in pathological
cases.
Moved from #4544, because Critic.
Fixes #4544.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
§ 12.3-12.5.
Only simple alphabetic and numeric counter styles are supported. (This
is most of them though.)
Although this PR adds a sequential pass to layout, I verified that on
pages that contain a reasonable number of ordered lists (Reddit
`/r/rust`), the time spent in generated content resolution is dwarfed by
the time spent in the parallelizable parts of layout. So I don't expect
this to negatively affect our parallelism expect perhaps in pathological
cases.
|
|/ /
| |
| |
| | |
Fragmentation is not yet supported.
|
|/ |
|
|\
| |
| |
| |
| |
| | |
Also introduce a clear() function to layout data which will be used to clear items such as compositor layouts.
Clear the layout data when a node becomes display:none.
|
| |
| |
| |
| |
| |
| | |
Also introduce a clear() function to layout data which will be used to clear items such as compositor layouts.
Clear the layout data when a node becomes display:none.
|
|\ \
| | |
| | |
| | |
| | |
| | | |
r? @mbrubeck
Depends on servo/rust-geom#64.
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | | |
This patch enables the use of `lineTo()` on the canvas.
|
| |/ / |
|
|\ \ \
| |/ /
|/| | |
|
| | | |
|
|\ \ \
| |/ /
|/| |
| | | |
Fixes #4871
|
| |/
| |
| |
| | |
Fixed issues
|
|\ \ |
|
| | | |
|
|\ \ \ |
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | | |
|