aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/trace.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-11-12 13:04:22 -0600
committerGitHub <noreply@github.com>2017-11-12 13:04:22 -0600
commitbc58e18761ef687bd6c5efcda635cabdb742069a (patch)
treee3a592e2fcdbd5b42c3c9b61eb7c22e6afd76224 /components/script/dom/bindings/trace.rs
parentfad4d7ae49140b8919f9b823542b440aeb0ecc9e (diff)
parent79ea63945851531dbf457f234bb239cc731fbb6e (diff)
downloadservo-bc58e18761ef687bd6c5efcda635cabdb742069a.tar.gz
servo-bc58e18761ef687bd6c5efcda635cabdb742069a.zip
Auto merge of #19141 - upsuper:window-transform, r=emilio
Implement -moz-window-transform{,-origin} internal properties This fixes [bug 1374178](https://bugzilla.mozilla.org/show_bug.cgi?id=1374178). Note that the impl of `-moz-window-transform-origin` doesn't exactly match how it is implemented in Gecko. Specifically, that property doesn't accept depth value in Gecko, but it does in this impl. The depth value is simply dropped during conversion. This is because I don't think it's worth adding code for handling this internal property to make it as restrictive. This is a modified version of #19106. The only difference since then is how `impl_transform_origin` distinguish between `transform-origin` and `-moz-window-transform-origin`. The previous PR has a bug which checks against `transform` rather than `transform-origin`, while this PR changes it to checking the length of the array. It introduces an unsuppressible warning due to rust-lang/rust#45850. This doesn't cause build failure, so maybe it's fine? <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19141) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/bindings/trace.rs')
0 files changed, 0 insertions, 0 deletions