Bug 193059 - [LFC][BFC] Use computedValue and usedValue consistently
Summary: [LFC][BFC] Use computedValue and usedValue consistently
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: zalan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-12-29 20:32 PST by zalan
Modified: 2019-01-04 07:23 PST (History)
5 users (show)

See Also:


Attachments
Patch (47.51 KB, patch)
2018-12-29 20:35 PST, zalan
no flags Details | Formatted Diff | Diff
Patch (57.33 KB, patch)
2019-01-03 10:10 PST, zalan
no flags Details | Formatted Diff | Diff
Patch (57.33 KB, patch)
2019-01-03 18:22 PST, zalan
koivisto: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>