aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/element.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2019-01-26 11:00:44 +0100
committerEmilio Cobos Álvarez <emilio@crisal.io>2019-02-10 05:12:19 +0100
commit8dad956513eba5cea9ce895c6f5351ff9f95c835 (patch)
tree49e6c4589a95d2371fd015e36e5e18d361e18465 /components/script/dom/element.rs
parent13e12d23f3818a68847f28f3a3fac3220d134cd4 (diff)
downloadservo-8dad956513eba5cea9ce895c6f5351ff9f95c835.tar.gz
servo-8dad956513eba5cea9ce895c6f5351ff9f95c835.zip
style: Use Rust lengths for margin / padding / inset.
Also for the intersection observer root margin, since it was easier to fix it up and clean it up than not doing it. This is the first big step to get rid of nscoord. It duplicates a bit of logic in nsLayoutUtils since for now max/min-width/height are still represented with nsStyleCoord, but I think I prefer to land this incrementally. I didn't add helpers for the physical accessors of the style rect sides that nsStyleSides has (top/bottom/left/right) since I think we generally should encourage the logical versions, but let me know if you want me to do that. Differential Revision: https://phabricator.services.mozilla.com/D17739
Diffstat (limited to 'components/script/dom/element.rs')
0 files changed, 0 insertions, 0 deletions