| Summary: | Only skip stretchy operators when determining the stretch height | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Frédéric Wang (:fredw) <fred.wang> | ||||||||||
| Component: | MathML | Assignee: | Frédéric Wang (:fredw) <fred.wang> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | bfulgham, cfleizach, commit-queue, dbarton, esprehn+autocc, glenn, kondapallykalyan, mrobinson | ||||||||||
| Priority: | P2 | ||||||||||||
| Version: | 528+ (Nightly build) | ||||||||||||
| Hardware: | All | ||||||||||||
| OS: | All | ||||||||||||
| Bug Depends on: | 99620, 119043 | ||||||||||||
| Bug Blocks: | 124838 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Frédéric Wang (:fredw)
2014-01-12 06:37:34 PST
Created attachment 224735 [details]
testcase
In the attached testcase, the brace should stretch to cover the size of the large <mo>p</mo>.
Created attachment 224738 [details] Patch Here is a simple patch that applies on top of bug 119043. Created attachment 224846 [details]
Patch
Comment on attachment 224846 [details] Patch Asking review. The test will fail because this depends on bug 119043. Created attachment 224954 [details]
Patch + 119043 for testing
Comment on attachment 224846 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=224846&action=review > Source/WebCore/ChangeLog:8 > + The MathML code only takes into account non-mo children for the computation of the stretch size. Thus change includes non-stretchy mo in that computation. A new test is added into mathml/presentation/stretchy-depth-height.html. thus -> this > Source/WebCore/rendering/mathml/RenderMathMLRow.cpp:65 > + // We exclude stretchy operators from the computation of the stretch size. I would add the why you're skipping stretchy operators to the comment here as well. Committed r164538: <http://trac.webkit.org/changeset/164538> |