diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-11-11 15:41:08 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-11 15:41:08 -0600 |
commit | 4b9693cf81c5953a062e138e37fed0e00f2c1cc1 (patch) | |
tree | cc343043490dda228bb38a8fdcf4a4b8425e3737 /components/script/dom/node.rs | |
parent | d49840eeec30967cc6f482bc2db9055ab6404ea4 (diff) | |
parent | 5fad7b0ff66ea20ca767f8c29e1be67ae5a47cab (diff) | |
download | servo-4b9693cf81c5953a062e138e37fed0e00f2c1cc1.tar.gz servo-4b9693cf81c5953a062e138e37fed0e00f2c1cc1.zip |
Auto merge of #14120 - Manishearth:logical, r=emilio
Support logical properties in style
Adds support for the logical block-end/inline-start/etc properties. These properties (like `border-block-end-color`) map to "physical" properties (e.g. `border-top-color`) depending on the writing mode.
Todo:
- [x] Handle shorthands
- [x] Make geckolib setters work
- [x] Handle padding/offset logical properties
- [x] Perhaps handle `-block-size`, `-inline-size` type logical properties?
- [x] Tests?
This will overall add 16 new longhands and 4 new shorthands, taking a big bite out of the [remaining properties work](https://manishearth.github.io/css-properties-list/?stylo=hide&servo=hide&firefox=only&chrome=show&mdn=false&alexa=false)
f? @emilio @SimonSapin
<!-- 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/14120)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/node.rs')
0 files changed, 0 insertions, 0 deletions