WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
164313
Remove RenderMathMLOperator::shouldAllowStretching
https://bugs.webkit.org/show_bug.cgi?id=164313
Summary
Remove RenderMathMLOperator::shouldAllowStretching
Frédéric Wang (:fredw)
Reported
2016-11-02 02:24:15 PDT
This is a legacy function from the old MathML code. Now that we support large operator in displaystyle, the name is confusing since it is not just vertical/horizontal "stretchy" operators any more. I believe that now we can just expand it inside RenderMathMLOperator::updateMathOperator() by doing something like: if (isStretchy()) type = isVertical() ? MathOperator::Type::VerticalOperator : MathOperator::Type::HorizontalOperator; else if (textContent() && isLargeOperatorInDisplayStyle()) type = MathOperator::Type::DisplayOperator; else type = MathOperator::Type::NormalOperator; and then the condition in RenderMathMLOperator::useMathOperator() will just become m_mathOperator.type() != MathOperator::Type::NormalOperator || textContent() == minusSign where we add the accessor MathOperator::type() { return m_operatorType; }
Attachments
Patch
(4.32 KB, patch)
2016-11-06 05:29 PST
,
Frédéric Wang (:fredw)
darin
: review+
Details
Formatted Diff
Diff
Patch
(4.56 KB, patch)
2016-11-10 04:02 PST
,
Frédéric Wang (:fredw)
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from ews125 for ios-simulator-wk2
(
deleted
)
2016-11-10 06:12 PST
,
Build Bot
no flags
Details
Patch
(4.56 KB, patch)
2016-11-10 13:36 PST
,
Frédéric Wang (:fredw)
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Frédéric Wang (:fredw)
Comment 1
2016-11-06 05:29:28 PST
Created
attachment 294021
[details]
Patch
Frédéric Wang (:fredw)
Comment 2
2016-11-10 04:02:22 PST
Created
attachment 294359
[details]
Patch
Build Bot
Comment 3
2016-11-10 06:12:18 PST
Comment on
attachment 294359
[details]
Patch
Attachment 294359
[details]
did not pass ios-sim-ews (ios-simulator-wk2): Output:
http://webkit-queues.webkit.org/results/2489144
New failing tests: compositing/absolute-inside-out-of-view-fixed.html
Build Bot
Comment 4
2016-11-10 06:12:21 PST
Created
attachment 294367
[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.6
Frédéric Wang (:fredw)
Comment 5
2016-11-10 13:36:30 PST
Created
attachment 294407
[details]
Patch
WebKit Commit Bot
Comment 6
2016-11-12 04:44:43 PST
Comment on
attachment 294407
[details]
Patch Clearing flags on attachment: 294407 Committed
r208647
: <
http://trac.webkit.org/changeset/208647
>
WebKit Commit Bot
Comment 7
2016-11-12 04:44:48 PST
All reviewed patches have been landed. Closing bug.
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