WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 138095
[MathML] align-items and align-self are not resolved to 'stretch' when auto.
https://bugs.webkit.org/show_bug.cgi?id=138095
Summary
[MathML] align-items and align-self are not resolved to 'stretch' when auto.
Javier Fernandez
Reported
2014-10-27 10:38:28 PDT
In the last version of the Box Alignment specification both align-items and align-self initial value is 'auto'. This value should be resolved later to determine the computed value depending on the type of object. -
http://dev.w3.org/csswg/css-align-3/#propdef-align-items
-
http://dev.w3.org/csswg/css-align-3/#propdef-align-self
For Grid and Flex elements 'auto' must be resolved to 'stretch'. Since MathML renders implementation is based on the RenderFlexibleBox class, it's expected that 'auto' values are resolved to 'stretch' as well; however, since the nature of the element is based on the display property, some MathML renders have not these properties correctly resolved. In the case of grid and flex containers, there is even an additional resolution logic at rendering phase, after the style cascade have resolved the css property values to their appropriated computed values. The case of MathML layout mode is particularly problematic because of the various render wrappers and their style handling logic it implements.
Attachments
Add attachment
proposed patch, testcase, etc.
Frédéric Wang (:fredw)
Comment 1
2016-07-07 15:17:06 PDT
Fixed by
http://trac.webkit.org/changeset/202934
. MathML does not inherit from RenderFlexibleBox anymore nor does it use any align properties in its implementation.
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