All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fernice.flare.style.properties.service.Padding.kt Maven / Gradle / Ivy

/*
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

package org.fernice.flare.style.properties.service

import org.fernice.flare.style.properties.PropertyContainer
import org.fernice.flare.style.properties.PropertyContainerContributor
import org.fernice.flare.style.properties.longhand.padding.PaddingBottomId
import org.fernice.flare.style.properties.longhand.padding.PaddingLeftId
import org.fernice.flare.style.properties.longhand.padding.PaddingRightId
import org.fernice.flare.style.properties.longhand.padding.PaddingTopId
import org.fernice.flare.style.properties.shorthand.padding.PaddingId

class PaddingPropertyContainerContributor : PropertyContainerContributor {

    override fun contribute(container: PropertyContainer) {
        container.registerLonghands(
            PaddingTopId,
            PaddingRightId,
            PaddingBottomId,
            PaddingLeftId
        )

        container.registerShorthands(
            PaddingId
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy