Skip to content

Commit db9b7e8

Browse files
author
Robin Frischmann
authored
Merge pull request #150 from VilmaRamos/master
Add support to text-orientation
2 parents 4b606f0 + 0af63a4 commit db9b7e8

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

modules/dynamic/dynamicData.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/generator/maps/propertyMap.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,5 +168,6 @@ export default {
168168
"columnWidth",
169169
"columnGap"
170170
],
171-
"css-writing-mode": ["writingMode"]
171+
"css-writing-mode": ["writingMode"],
172+
"css-text-orientation": ["textOrientation"]
172173
};

modules/static/staticData.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/static/createPrefixer-test.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,5 +257,15 @@ describe('Static Prefixer', () => {
257257
expect(prefixAll(input)).to.eql(output)
258258
expect(prefixAll(input)).to.eql(output)
259259
})
260+
261+
it('should prefix textOrientation', () => {
262+
const input = { textOrientation: 'upwright' }
263+
const output = {
264+
textOrientation: 'upwright',
265+
WebkitTextOrientation: 'upwright'
266+
}
267+
expect(prefixAll(input)).to.eql(output)
268+
expect(prefixAll(input)).to.eql(output)
269+
})
260270
})
261271
})

0 commit comments

Comments
 (0)