Bug 113610

Summary: intrinsic size keywords don't work for heights
Product: WebKit Reporter: Ojan Vafai <ojan>
Component: Layout and RenderingAssignee: Robert Hogan <robert>
Status: RESOLVED FIXED    
Severity: Normal CC: basile_clement, benjamin, bfulgham, cbiesinger, darin, esprehn, hyatt, kling, koivisto, marsjaninzmarsa, rego, robert, sam, simon.fraser, svillar, zalan
Priority: P2 Keywords: BlinkMergeCandidate
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 146018    
Attachments:
Description Flags
Patch darin: review+

Ojan Vafai
Reported 2013-03-29 14:36:17 PDT
http://dev.w3.org/csswg/css-sizing/ Right now we don't even parse them.
Attachments
Patch (74.36 KB, patch)
2015-06-11 07:15 PDT, Sergio Villar Senin
darin: review+
Christian Biesinger
Comment 1 2013-05-20 14:51:58 PDT
Sergio Villar Senin
Comment 2 2015-06-11 07:15:58 PDT
Sergio Villar Senin
Comment 3 2015-06-23 02:38:21 PDT
Pinging reviewers...
Darin Adler
Comment 4 2015-06-23 10:09:20 PDT
Comment on attachment 254721 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=254721&action=review Not at all fond of using the -1 magic value here. > Source/WebCore/css/CSSParser.cpp:1817 > +bool CSSParser::isValidSize(ValueWithCalculation& valueWithCalculation) If this has no side effects, maybe the argument type should be const& instead of just &. > Source/WebCore/rendering/RenderBox.cpp:2819 > + // FIXME: the css-sizing spec is considering changing what min-content/max-content should resolve to. Should be sentence style. Also should be called CSS sizing, not css-sizing. > Source/WebCore/rendering/RenderTable.cpp:374 > + } else if (styleLogicalHeight.isPercentOrCalculated()) { > computedLogicalHeight = computePercentageLogicalHeight(styleLogicalHeight); > + } else if (styleLogicalHeight.isIntrinsic()) WebKit code says no braces for this kind of thing.
Sergio Villar Senin
Comment 5 2015-06-24 06:37:02 PDT
Basile Clement
Comment 6 2015-07-29 10:55:02 PDT
Removed LayoutTests/fast/css-intrinsic-dimensions/height-property-value.html.orig in http://trac.webkit.org/changeset/187549
Note You need to log in before you can comment on or make changes to this bug.