|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
467 bytes
|
| Line | |
|---|
| 1 | 'use strict';
|
|---|
| 2 |
|
|---|
| 3 | var isValid = require('./borderStyle').isValid;
|
|---|
| 4 | module.exports.isValid = isValid;
|
|---|
| 5 |
|
|---|
| 6 | module.exports.definition = {
|
|---|
| 7 | set: function(v) {
|
|---|
| 8 | if (isValid(v)) {
|
|---|
| 9 | if (v.toLowerCase() === 'none') {
|
|---|
| 10 | v = '';
|
|---|
| 11 | this.removeProperty('border-top-width');
|
|---|
| 12 | }
|
|---|
| 13 | this._setProperty('border-top-style', v);
|
|---|
| 14 | }
|
|---|
| 15 | },
|
|---|
| 16 | get: function() {
|
|---|
| 17 | return this.getPropertyValue('border-top-style');
|
|---|
| 18 | },
|
|---|
| 19 | enumerable: true,
|
|---|
| 20 | configurable: true,
|
|---|
| 21 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.