<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Check whether font is nonnull for GlyphData instead of calling GlyphData::isValid()"
href="https://bugs.webkit.org/show_bug.cgi?id=159783">159783</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Check whether font is nonnull for GlyphData instead of calling GlyphData::isValid()
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>WebKit Nightly Build
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P2
</td>
</tr>
<tr>
<th>Component</th>
<td>MathML
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>fred.wang@free.fr
</td>
</tr>
<tr>
<th>CC</th>
<td>cdumez@apple.com
</td>
</tr></table>
<p>
<div>
<pre>See <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Refactor RenderMathMLOperator and RenderMathMLToken to avoid using anonymous renderers"
href="show_bug.cgi?id=155018#c36">bug 155018 comment 36</a>. Also, probably the reason for <a class="bz_bug_link
bz_status_NEW "
title="NEW - [Win] mathml/presentation/style-changed.html crashes"
href="show_bug.cgi?id=159702">bug 159702</a>.
fred@debian:~/webkit/WebKit/Source/WebCore/rendering/mathml$ grep '\.isValid' *
MathOperator.cpp: return data.isValid() ? data.font->boundsForGlyph(data.glyph) : FloatRect();
MathOperator.cpp: return data.isValid() ? data.font->widthForGlyph(data.glyph) : 0;
MathOperator.cpp: return baseGlyph.isValid() && baseGlyph.font == &style.fontCascade().primaryFont();
MathOperator.cpp: ASSERT(sizeVariant.isValid());
MathOperator.cpp: ASSERT(m_assembly.extension.isValid());
MathOperator.cpp: ASSERT(m_assembly.extension.isValid());
MathOperator.cpp: ASSERT(m_assembly.topOrRight.isValid());
MathOperator.cpp: ASSERT(m_assembly.bottomOrLeft.isValid());
MathOperator.cpp: if (m_assembly.middle.isValid()) {
MathOperator.cpp: ASSERT(m_assembly.bottomOrLeft.isValid());
MathOperator.cpp: ASSERT(m_assembly.topOrRight.isValid());
MathOperator.cpp: if (m_assembly.middle.isValid()) {
MathOperator.cpp: ASSERT(m_variant.isValid());
RenderMathMLOperator.cpp: float glyphWidth = data.isValid() ? data.font->widthForGlyph(data.glyph) : 0;
RenderMathMLToken.cpp: if (m_mathVariantGlyph.isValid()) {
RenderMathMLToken.cpp: if (m_mathVariantGlyph.isValid())
RenderMathMLToken.cpp: if (!m_mathVariantGlyph.isValid()) {
RenderMathMLToken.cpp: if (info.context().paintingDisabled() || info.phase != PaintPhaseForeground || style().visibility() != VISIBLE || !m_mathVariantGlyph.isValid())
RenderMathMLToken.cpp: if (m_mathVariantGlyph.isValid())</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>