JS<T> should only be used for members of traced structures; the correct type
for arguments is JSRef.
Source-Repo: https://github.com/servo/servo
Source-Revision: d255a83a48388c0720cc7e495aac15f9ebcf2a7b
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.
Source-Repo: https://github.com/servo/servo
Source-Revision: f359bc93376a42a6dfefd0e2759d660d751a35aa
in a text run.
This makes painting of text display items faster and matches what Gecko
does.
Incorrect automatic derivation of `TotalOrd` broke it last time.
r? @brson
Source-Repo: https://github.com/servo/servo
Source-Revision: 3571b3977d224798fe1424591fbae64a1ef2f08d
This reverts 2b0134be7bb8a4372f1a8703b5a1b114e65351f6 because it was not correct for iframes. Oops. (Wasn't caught by tests because we still have other crashes preventing iframe testing.) r? @pcwalton.
Source-Repo: https://github.com/servo/servo
Source-Revision: 1184b500e50123fdcfb6824bed1df6e770b0d0f8
Introduced by yours-truly in 7212c3573e7f2b13f907e17a5683d382b34ab932
Oopsie.
Source-Repo: https://github.com/servo/servo
Source-Revision: f1194fc85bfb857962684eccd352968b3ace7d84
This is a rebased, squashed, and updated version of #2444.
Source-Repo: https://github.com/servo/servo
Source-Revision: 6c382243c4b3de9f0eec9cd71c757897ffd1b2e0
in a text run.
This makes painting of text display items faster and matches what Gecko
does.
r? @SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: d8483d2365b234ec32478eb836fe6019bead9265
@pcwalton r?
Might conflict with the rust upgrade - I can rebase later.
Source-Repo: https://github.com/servo/servo
Source-Revision: 3dedbd2719c78b636f4fd0860b07f1b53ed84c24
It fixes the wrong vertical alignment for img element. (related to #2422, #2554)
Worked with @ryanc
Source-Repo: https://github.com/servo/servo
Source-Revision: d293b469442ddc7de4257c14bcba685218019598
submitting them to Skia.
40x improvement in painting time on Wikipedia.
r? @glennw
Source-Repo: https://github.com/servo/servo
Source-Revision: 10b1e655b0dfec66fea948f974d41339d796c716
--HG--
rename : servo/src/components/gfx/display_list.rs => servo/src/components/gfx/display_list/mod.rs
Not yet ready for merge, but you can start reviewing.
Still need to fix linux and some make check code.
Source-Repo: https://github.com/servo/servo
Source-Revision: b2e7e67087370e30a310bb3673b074c97c19d548
--HG--
rename : servo/src/components/style/common_types.rs => servo/src/components/style/properties/common_types.rs
rename : servo/src/components/style/properties.rs.mako => servo/src/components/style/properties/mod.rs.mako
rename : servo/src/components/util/debug.rs => servo/src/components/util/debug_utils.rs
We get a lot of failures from assertions that event listeners haven't
thrown exceptions. As the FIXME above these assertions suggests, we
should just drop them on the floor.
Source-Repo: https://github.com/servo/servo
Source-Revision: 2ae671b5aa9d27812adcdb8ebc749733156df66e
Fixes#2498. Also includes a reftest, and some related code cleanup (in separate commits).
Note: The fix in `properties.rs.mako` is much more readable with `git diff -w`.
Source-Repo: https://github.com/servo/servo
Source-Revision: 41a6234b39e1655d2137c97cec6e572033896b86
This fixes#2259 which was caused by some of the previous layers sticking around incorrectly. Depends on mozilla-servo/rust-layers#69.
Also includes some related cleanup as separate commits.
No reftest because our test harness doesn't yet support navigating to a new page (#2574).
Source-Repo: https://github.com/servo/servo
Source-Revision: 473b9e488bf7354e4bed434ca99039328ddd5823
This will allow multiple unions to contain the same type.
Source-Repo: https://github.com/servo/servo
Source-Revision: d448e97c6ac7c73336056be875ca99e5d63d75c3
This simplifies inline.rs and makes things easier to understand.
I've also added some documentation for `Line`.
r? @pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 184d8b5bab2aa999280c6c3b7618428bb22b5205
There is no good reason for the additional abstraction here.
This commit also adds assertions that were suggested in XXX comments.
Source-Repo: https://github.com/servo/servo
Source-Revision: 6c557265533355bd588c61d54ed0b18ef9c03bcd