CSSShorthandProperty.js — react Source File
Architecture documentation for CSSShorthandProperty.js, a javascript file in the react codebase. 0 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 7b18bdd9_5973_5784_e35a_5155f750387e["CSSShorthandProperty.js"] e3e314a2_4cee_1a10_2d68_791d5d66f89e["CSSPropertyOperations.js"] e3e314a2_4cee_1a10_2d68_791d5d66f89e --> 7b18bdd9_5973_5784_e35a_5155f750387e style 7b18bdd9_5973_5784_e35a_5155f750387e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// List derived from Gecko source code:
// https://github.com/mozilla/gecko-dev/blob/4e638efc71/layout/style/test/property_database.js
export const shorthandToLonghand = {
animation: [
'animationDelay',
'animationDirection',
'animationDuration',
'animationFillMode',
'animationIterationCount',
'animationName',
'animationPlayState',
'animationTimingFunction',
],
background: [
'backgroundAttachment',
'backgroundClip',
'backgroundColor',
'backgroundImage',
'backgroundOrigin',
'backgroundPositionX',
'backgroundPositionY',
'backgroundRepeat',
'backgroundSize',
],
backgroundPosition: ['backgroundPositionX', 'backgroundPositionY'],
border: [
'borderBottomColor',
'borderBottomStyle',
'borderBottomWidth',
'borderImageOutset',
'borderImageRepeat',
'borderImageSlice',
'borderImageSource',
'borderImageWidth',
'borderLeftColor',
'borderLeftStyle',
'borderLeftWidth',
'borderRightColor',
'borderRightStyle',
'borderRightWidth',
'borderTopColor',
'borderTopStyle',
'borderTopWidth',
],
borderBlockEnd: [
'borderBlockEndColor',
'borderBlockEndStyle',
'borderBlockEndWidth',
],
borderBlockStart: [
'borderBlockStartColor',
'borderBlockStartStyle',
'borderBlockStartWidth',
// ... (133 more lines)
Domain
Source
Frequently Asked Questions
What does CSSShorthandProperty.js do?
CSSShorthandProperty.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain.
What files import CSSShorthandProperty.js?
CSSShorthandProperty.js is imported by 1 file(s): CSSPropertyOperations.js.
Where is CSSShorthandProperty.js in the architecture?
CSSShorthandProperty.js is located at packages/react-dom-bindings/src/client/CSSShorthandProperty.js (domain: BabelCompiler, directory: packages/react-dom-bindings/src/client).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free