[Webkit-unassigned] [Bug 38919] Add support for fit-content etc
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 18 17:17:57 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=38919
--- Comment #11 from Elliott Sprehn <esprehn at gmail.com> 2012-06-18 17:17:55 PST ---
(From update of attachment 147648)
View in context: https://bugs.webkit.org/attachment.cgi?id=147648&action=review
>> Source/WebCore/ChangeLog:11
>> + CSS properties (and associated min/max properties).
>
> It looks like we're parsing the value for min-{width,height} and width/height (not max), but currently only applying to width. We should be clear about that in the changelog.
>
> Since this will take more than one patch and webkit normally does one patch per bug, you may want to file a new bug for what you're implementing and have this bug depend on it (i.e., this bug would be a meta bug for tracking purposes).
I changed to only respect on the width now. Previously this patch enabled parsing of the values for height properties with StyleBuilder but shouldn't have.
>> Source/WebCore/css/CSSParser.cpp:1906
>> + if (id == CSSValueAuto || id == CSSValueIntrinsic || id == CSSValueMinIntrinsic || id == CSSValueWebkitMinContent || id == CSSValueWebkitMaxContent || id == CSSValueWebkitFillAvailable || id == CSSValueWebkitFitContent)
>
> Why are we parsing auto on min-width/min-height? This will collide with Ojan's patch on bug 88437 that adds it for real.
This was a copy/paste mistake. Removed.
>> Source/WebCore/css/LengthFunctions.cpp:110
>> + return ZERO_LAYOUT_UNIT;
>
> Can we merge these cases like we do in the other switch statements?
There's something about debugging above but I'm not sure it's really needed. Combined.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list