WebCore stores percentages as fixed point with limited precision.
Because of this, one of the layout tests (fast/css/percentage-non-integer.html) is not rendering correctly.
The Length class should be updated to use float instead of fixed.
Attachment 85432[details] did not pass style-queue:
Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'LayoutTests/ChangeLog', u'LayoutTests/plat..." exit_code: 1
Source/WebCore/ChangeLog:7: Line contains tab character. [whitespace/tab] [5]
Total errors found: 1 in 10 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 85482[details]
First pass to get the results of the other platforms
View in context: https://bugs.webkit.org/attachment.cgi?id=85482&action=review> Source/WebCore/rendering/AutoTableLayout.cpp:272
> + // if there was no remaining percent, maxWidth is invalid.
> + if (!remainingPercent && maxNonPercent)
> + maxWidth = intMaxForLength;
This seems like a logic change... is there a test to go with it?
> Source/WebCore/rendering/FixedTableLayout.cpp:239
> + float totalRawPercent = 0;
Seems like this could be renamed to remove the "Raw" word.
> LayoutTests/ChangeLog:8
> + * platform/mac/fast/css/percentage-non-integer-expected.txt:
Missing a pixel result for the test?
The commit-queue encountered the following flaky tests while processing attachment 85538[details]:
animations/suspend-resume-animation.html bug 48161 (author: cmarrin@apple.com)
The commit-queue is continuing to process your patch.
(In reply to comment #16)
> I rolled this out in r81103 due to the fact it breaks the 32-bit Mac build and caused assertions failures on the Windows Debug build bot.
I found the mac leopard issue but am unable to find the windows debug issue.
Where is the failure log located?
Rik: How did you spam the bug like that? Did a tool go haywire?
In any case, we should open a new bug for this (and we can dupe this one against that).
But this bug should be closed now that it's impossible to read.
(In reply to comment #30)
> Rik: How did you spam the bug like that? Did a tool go haywire?
>
> In any case, we should open a new bug for this (and we can dupe this one against that).
>
> But this bug should be closed now that it's impossible to read.
Yes. Please close the bug and I'll open a new one.
I click on "edit attachment as comment" and submitted by accident :-(
Comment on attachment 86335[details]
updated per Simon's review
View in context: https://bugs.webkit.org/attachment.cgi?id=86335&action=review> Source/WebCore/platform/Length.h:198
> + float fromValue = from.isZero() ? 0 : from.value();
This causes:
Source\WebCore\platform\Length.h(196) : warning C4244: 'initializing' : conversion from 'int' to 'float', possible loss of data
This is genuine since value() returns an int. Either change the type to int or use getFloatValue() or the thing that is the more sensible here as I'm not familiar with this code.
(In reply to comment #35)
> (From update of attachment 86335[details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=86335&action=review
>
> > Source/WebCore/platform/Length.h:198
> > + float fromValue = from.isZero() ? 0 : from.value();
>
> This causes:
> Source\WebCore\platform\Length.h(196) : warning C4244: 'initializing' : conversion from 'int' to 'float', possible loss of data
>
> This is genuine since value() returns an int. Either change the type to int or use getFloatValue() or the thing that is the more sensible here as I'm not familiar with this code.
What platform are you seeing this on?
2011-03-09 14:53 PST, Rik Cabanier
2011-03-09 16:41 PST, Rik Cabanier
2011-03-10 20:32 PST, Rik Cabanier
2011-03-11 09:25 PST, Rik Cabanier
hyatt: commit-queue-
2011-03-11 14:18 PST, Rik Cabanier
2011-03-11 14:33 PST, Rik Cabanier
2011-03-11 14:41 PST, Rik Cabanier
2011-03-16 12:56 PDT, Rik Cabanier
2011-03-16 13:44 PDT, Rik Cabanier
2011-03-16 13:57 PDT, Rik Cabanier
2011-03-16 14:06 PDT, Rik Cabanier
2011-03-17 11:07 PDT, Rik Cabanier
2011-03-17 11:15 PDT, Rik Cabanier
2011-03-18 14:33 PDT, Rik Cabanier
simon.fraser: commit-queue-
2011-03-21 10:51 PDT, Rik Cabanier
2011-03-21 11:00 PDT, Rik Cabanier