Bug 193059

Summary: [LFC][BFC] Use computedValue and usedValue consistently
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, koivisto, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch koivisto: review+

Description zalan 2018-12-29 20:32:57 PST
https://www.w3.org/TR/CSS22/cascade.html#value-stages
6.1.2 Computed values
Specified values are resolved to computed values during the cascade; for example URIs are made absolute and 'em' and 'ex' units are computed to pixel or absolute lengths. Computing a value never requires the user agent to render the document.
...

6.1.3 Used values
Computed values are processed as far as possible without formatting the document. Some values, however, can only be determined when the document is being laid out. For example, if the width of an element is set to be a certain percentage of its containing block, the width cannot be determined until the width of the containing block has been determined. The used value is the result of taking the computed value and resolving any remaining dependencies into an absolute value.
Comment 1 zalan 2018-12-29 20:35:58 PST
Created attachment 358145 [details]
Patch
Comment 2 zalan 2019-01-03 10:10:08 PST
Created attachment 358258 [details]
Patch
Comment 3 zalan 2019-01-03 18:22:06 PST
Created attachment 358299 [details]
Patch
Comment 4 zalan 2019-01-04 07:21:53 PST
Committed r239608: <https://trac.webkit.org/changeset/239608>
Comment 5 Radar WebKit Bug Importer 2019-01-04 07:23:40 PST
<rdar://problem/47047946>