computed-style-without-renderer-expected.txt 6.43 KB
Newer Older
1 2
Computed style of an element whose parent's 'display' value is 'none':
    background-attachment: scroll
3
    background-clip: border-box
4 5
    background-color: rgb(0, 128, 0)
    background-image: none
6
    background-origin: padding-box
7 8
    background-position: 0% 0%
    background-repeat: repeat
mitz@apple.com's avatar
mitz@apple.com committed
9
    background-size: auto auto
10
    border-bottom-color: rgb(0, 0, 0)
11 12
    border-bottom-left-radius: 0px
    border-bottom-right-radius: 0px
13 14 15 16 17 18 19 20 21 22
    border-bottom-style: none
    border-bottom-width: 0px
    border-collapse: separate
    border-left-color: rgb(0, 0, 0)
    border-left-style: none
    border-left-width: 0px
    border-right-color: rgb(0, 0, 0)
    border-right-style: none
    border-right-width: 0px
    border-top-color: rgb(0, 0, 0)
23 24
    border-top-left-radius: 0px
    border-top-right-radius: 0px
25
    border-top-style: solid
hausmann@webkit.org's avatar
hausmann@webkit.org committed
26
    border-top-width: 13px
27 28 29
    bottom: auto
    caption-side: top
    clear: none
30
    clip: auto
31 32 33 34 35 36 37
    color: rgb(0, 0, 0)
    cursor: auto
    direction: ltr
    display: block
    empty-cells: show
    float: none
    font-family: Arial
hausmann@webkit.org's avatar
hausmann@webkit.org committed
38
    font-size: 13px
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
    font-style: normal
    font-variant: normal
    font-weight: normal
    height: 100px
    left: auto
    letter-spacing: normal
    line-height: normal
    list-style-image: none
    list-style-position: outside
    list-style-type: disc
    margin-bottom: 0px
    margin-left: auto
    margin-right: 0px
    margin-top: 0px
    max-height: none
    max-width: none
    min-height: 0px
    min-width: 0px
    opacity: 1
    orphans: 2
    outline-color: rgb(0, 0, 0)
    outline-style: none
    outline-width: 0px
    overflow-x: visible
    overflow-y: visible
64 65 66 67
    padding-bottom: 0px
    padding-left: 0px
    padding-right: 0px
    padding-top: 0px
68 69 70
    page-break-after: auto
    page-break-before: auto
    page-break-inside: auto
71
    pointer-events: auto
72 73 74 75 76 77 78 79
    position: static
    resize: none
    right: auto
    table-layout: auto
    text-align: auto
    text-decoration: none
    text-indent: 0px
    text-shadow: none
80
    text-overflow: clip
81 82 83 84 85 86 87 88
    text-transform: none
    top: auto
    unicode-bidi: normal
    vertical-align: baseline
    visibility: visible
    white-space: normal
    widows: 2
    width: 50%
89
    word-break: normal
90 91 92
    word-spacing: 0px
    word-wrap: normal
    z-index: auto
93 94 95 96 97 98
    zoom: 1
    -webkit-animation-delay: 0s
    -webkit-animation-direction: normal
    -webkit-animation-duration: 0s
    -webkit-animation-iteration-count: 1
    -webkit-animation-name: none
99
    -webkit-animation-play-state: running
100
    -webkit-animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1)
101
    -webkit-appearance: none
102 103
    -webkit-backface-visibility: visible
    -webkit-background-clip: border-box
104
    -webkit-background-composite: source-over
105
    -webkit-background-origin: padding-box
106 107
    -webkit-border-fit: border
    -webkit-border-horizontal-spacing: 0px
108
    -webkit-border-image: none
109 110 111 112 113 114 115 116 117
    -webkit-border-vertical-spacing: 0px
    -webkit-box-align: stretch
    -webkit-box-direction: normal
    -webkit-box-flex: 0
    -webkit-box-flex-group: 1
    -webkit-box-lines: single
    -webkit-box-ordinal-group: 1
    -webkit-box-orient: horizontal
    -webkit-box-pack: start
118
    -webkit-box-reflect: none
119
    -webkit-box-shadow: none
120 121 122 123 124 125 126 127 128 129
    -webkit-box-sizing: content-box
    -webkit-column-break-after: auto
    -webkit-column-break-before: auto
    -webkit-column-break-inside: auto
    -webkit-column-count: auto
    -webkit-column-gap: normal
    -webkit-column-rule-color: rgb(0, 0, 0)
    -webkit-column-rule-style: none
    -webkit-column-rule-width: 0px
    -webkit-column-width: auto
130
    -webkit-font-smoothing: auto
131 132 133 134 135 136 137 138 139
    -webkit-highlight: none
    -webkit-line-break: normal
    -webkit-line-clamp: none
    -webkit-margin-bottom-collapse: collapse
    -webkit-margin-top-collapse: collapse
    -webkit-marquee-direction: auto
    -webkit-marquee-increment: 6px
    -webkit-marquee-repetition: infinite
    -webkit-marquee-style: scroll
140 141 142 143 144 145 146 147 148
    -webkit-mask-attachment: scroll
    -webkit-mask-box-image: none
    -webkit-mask-clip: border-box
    -webkit-mask-composite: source-over
    -webkit-mask-image: none
    -webkit-mask-origin: border-box
    -webkit-mask-position: 0% 0%
    -webkit-mask-repeat: repeat
    -webkit-mask-size: auto auto
149
    -webkit-nbsp-mode: normal
150 151
    -webkit-perspective: none
    -webkit-perspective-origin: 50% 50%
152 153 154 155 156
    -webkit-rtl-ordering: logical
    -webkit-text-decorations-in-effect: none
    -webkit-text-fill-color: rgb(0, 0, 0)
    -webkit-text-security: none
    -webkit-text-stroke-color: rgb(0, 0, 0)
157 158 159 160 161 162 163 164
    -webkit-text-stroke-width: 0px
    -webkit-transform: none
    -webkit-transform-origin: 50% 50%
    -webkit-transform-style: flat
    -webkit-transition-delay: 0s
    -webkit-transition-duration: 0s
    -webkit-transition-property: all
    -webkit-transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1)
165 166 167
    -webkit-user-drag: auto
    -webkit-user-modify: read-only
    -webkit-user-select: text
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206
    clip-path: none
    clip-rule: nonzero
    mask: none
    filter: none
    flood-color: rgb(0, 0, 0)
    flood-opacity: 1
    lighting-color: rgb(255, 255, 255)
    stop-color: rgb(0, 0, 0)
    stop-opacity: 1
    color-interpolation: srgb
    color-interpolation-filters: linearrgb
    color-rendering: auto
    fill: #000000
    fill-opacity: 1
    fill-rule: nonzero
    image-rendering: auto
    marker-end: none
    marker-mid: none
    marker-start: none
    shape-rendering: auto
    stroke: none
    stroke-dasharray: 
    stroke-dashoffset: 
    stroke-linecap: butt
    stroke-linejoin: miter
    stroke-miterlimit: 4
    stroke-opacity: 1
    stroke-width: 
    text-rendering: auto
    alignment-baseline: auto
    baseline-shift: baseline
    dominant-baseline: auto
    kerning: 
    text-anchor: start
    writing-mode: lr-tb
    glyph-orientation-horizontal: 0deg
    glyph-orientation-vertical: auto
    background-position-x: 0%
    background-position-y: 0%
207 208
    border-spacing: 0px 0px
    overflow: visible
209 210
    -webkit-mask-position-x: 0%
    -webkit-mask-position-y: 0%
211 212 213 214
    -webkit-match-nearest-mail-blockquote-color: normal
    -webkit-text-size-adjust: auto

After changing grandparent's 'color' and the parent's 'font-size' inherited properties:
hausmann@webkit.org's avatar
hausmann@webkit.org committed
215
    border-top-width: 16px
216 217 218 219 220 221 222 223 224 225 226 227 228
    color: rgb(0, 0, 255)

After changing the parent's 'display' property to 'block', so that the child gets a renderer:
    height: 100px
    margin-left: 392px
    width: 392px

After changing the parent's 'display' property back to 'none':
    height: 100px
    margin-left: auto
    width: 50%