RESOLVED FIXED Bug 155792
Basic implementation of mpadded
https://bugs.webkit.org/show_bug.cgi?id=155792
Summary Basic implementation of mpadded
Frédéric Wang (:fredw)
Reported 2016-03-23 06:35:24 PDT
First step to implement mpadded without the pseudo-units values.
Attachments
Patch (36.56 KB, patch)
2016-03-23 08:17 PDT, Frédéric Wang (:fredw)
no flags
Patch (39.85 KB, patch)
2016-04-26 09:06 PDT, Frédéric Wang (:fredw)
no flags
Patch (39.84 KB, patch)
2016-06-25 00:41 PDT, Frédéric Wang (:fredw)
buildbot: commit-queue-
Archive of layout-test-results from ews103 for mac-yosemite (938.87 KB, application/zip)
2016-06-25 01:30 PDT, Build Bot
no flags
Archive of layout-test-results from ews105 for mac-yosemite-wk2 (803.58 KB, application/zip)
2016-06-25 01:33 PDT, Build Bot
no flags
Archive of layout-test-results from ews125 for ios-simulator-wk2 (661.23 KB, application/zip)
2016-06-25 01:39 PDT, Build Bot
no flags
Archive of layout-test-results from ews114 for mac-yosemite (1.42 MB, application/zip)
2016-06-25 01:46 PDT, Build Bot
no flags
Patch (39.84 KB, patch)
2016-07-07 15:01 PDT, Frédéric Wang (:fredw)
bfulgham: review+
Frédéric Wang (:fredw)
Comment 1 2016-03-23 08:17:44 PDT
Frédéric Wang (:fredw)
Comment 2 2016-04-26 09:06:17 PDT
Frédéric Wang (:fredw)
Comment 3 2016-06-25 00:41:22 PDT
Build Bot
Comment 4 2016-06-25 01:30:15 PDT
Comment on attachment 282060 [details] Patch Attachment 282060 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/1567030 New failing tests: mathml/presentation/inferred-mrow-stretchy.html
Build Bot
Comment 5 2016-06-25 01:30:18 PDT
Created attachment 282063 [details] Archive of layout-test-results from ews103 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-yosemite Platform: Mac OS X 10.10.5
Build Bot
Comment 6 2016-06-25 01:33:38 PDT
Comment on attachment 282060 [details] Patch Attachment 282060 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/1567034 New failing tests: mathml/presentation/inferred-mrow-stretchy.html
Build Bot
Comment 7 2016-06-25 01:33:40 PDT
Created attachment 282065 [details] Archive of layout-test-results from ews105 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Build Bot
Comment 8 2016-06-25 01:39:42 PDT
Comment on attachment 282060 [details] Patch Attachment 282060 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/1567035 New failing tests: mathml/presentation/inferred-mrow-stretchy.html
Build Bot
Comment 9 2016-06-25 01:39:45 PDT
Created attachment 282067 [details] Archive of layout-test-results from ews125 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews125 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.4
Build Bot
Comment 10 2016-06-25 01:46:25 PDT
Comment on attachment 282060 [details] Patch Attachment 282060 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/1567045 New failing tests: mathml/presentation/inferred-mrow-stretchy.html
Build Bot
Comment 11 2016-06-25 01:46:28 PDT
Created attachment 282069 [details] Archive of layout-test-results from ews114 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews114 Port: mac-yosemite Platform: Mac OS X 10.10.5
Frédéric Wang (:fredw)
Comment 12 2016-07-07 15:01:54 PDT
Created attachment 283057 [details] Patch Updating patch...
Brent Fulgham
Comment 13 2016-07-07 16:21:25 PDT
Comment on attachment 283057 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=283057&action=review r=me, but please correct the minor issues I pointed out. > Source/WebCore/rendering/mathml/RenderMathMLPadded.cpp:39 > + , m_ascent(0) I don't think this explicit initialization is needed, since the default constructor for LayoutUnit will initialize to zero. > Source/WebCore/rendering/mathml/RenderMathMLPadded.cpp:51 > + // We parse it using our the preferred width of the content as the default value. This reads a little strangely. I think it might need to be "// We parse it using the preferred width of the content as its default value." > Source/WebCore/rendering/mathml/RenderMathMLPadded.cpp:123 > + return Optional<int>(static_cast<int>(lroundf(m_ascent))); We should use: std::lround(m_ascent) You might need to #include <cmath> > Source/WebCore/rendering/mathml/RenderMathMLPadded.h:27 > +#define RenderMathMLPadded_h #pragma once
Frédéric Wang (:fredw)
Comment 14 2016-07-07 23:17:19 PDT
Note You need to log in before you can comment on or make changes to this bug.