WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
113610
intrinsic size keywords don't work for heights
https://bugs.webkit.org/show_bug.cgi?id=113610
Summary
intrinsic size keywords don't work for heights
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Christian Biesinger
Comment 1
2013-05-20 14:51:58 PDT
FYI, the blink version of this code was:
https://codereview.chromium.org/13674002
https://code.google.com/p/chromium/issues/detail?id=226251
Note the followup in
https://codereview.chromium.org/15112004/
Sergio Villar Senin
Comment 2
2015-06-11 07:15:58 PDT
Created
attachment 254721
[details]
Patch
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
Committed
r185908
: <
http://trac.webkit.org/changeset/185908
>
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.
Top of Page
Format For Printing
XML
Clone This Bug